• WiFi AP

    From Alexey Vissarionov@2:5020/545 to Brian Rogers on Fri Sep 17 19:20:20 2021
    Good ${greeting_time}, Brian!

    17 Sep 2021 10:41:00, you wrote to Michiel van der Vlist:

    The Raspberrys that I have seen have only only ethernet port. Do
    the later models have at least two ethernet ports so that one can
    make a WAN port and a LAN port?
    I haven't seen any however you can turn one into a wifi access point
    quit easily.

    Yes - that's normally as easy as:

    # cat /etc/hostapd/hostapd.conf
    interface=wlan0
    driver=nl80211
    logger_syslog=-1
    logger_syslog_level=2
    logger_stdout=-1
    logger_stdout_level=1
    ctrl_interface_group=wheel
    ssid=YetAnotherAP
    country_code=JP
    hw_mode=g
    channel=10
    beacon_int=100
    dtim_period=2
    max_num_sta=255
    rts_threshold=-1
    fragm_threshold=-1
    macaddr_acl=0
    auth_algs=1
    ignore_broadcast_ssid=0
    wmm_enabled=0
    eapol_key_index_workaround=0
    eap_server=0
    wpa=2
    wpa_passphrase=****************
    wpa_pairwise=CCMP
    wps_state=0

    Also, the `head -c12 /dev/urandom | openssl base64` command would give you a really good passphrase.


    --
    Alexey V. Vissarionov aka Gremlin from Kremlin
    gremlin.ru!gremlin; +vii-cmiii-ccxxix-lxxix-xlii

    ... GPG: 8832FE9FA791F7968AC96E4E909DAC45EF3B1FA8 @ hkp://keys.gnupg.net
    --- /bin/vi
    * Origin: ::1 (2:5020/545)
  • From Brian Rogers@1:142/103 to Alexey Vissarionov on Sat Sep 18 07:43:00 2021
    Hello Alexey;

    Alexey Vissarionov wrote to Brian Rogers <=-

    Yes - that's normally as easy as:

    [snip]

    Absolutely... of course the driver would have to match the wifi dongle.

    Also, the `head -c12 /dev/urandom | openssl base64` command would give
    you a really good passphrase.

    Yes it will :)

    As someone else pointed out, a wired VLAN situation could help... OR instead
    of a Pi, a PC with dual nics works slick too and an older machine would
    be fine for such a thing.

    ... A truck full of tortoises crashed with one full of terrapins. It was a turtl
    --- MultiMail/Linux v0.52
    * Origin: SBBS - Carnage! 2001:470:8a1e::3 (1:142/103)