Wireless problem with hostname.rum0 - BSD

This is a discussion on Wireless problem with hostname.rum0 - BSD ; Hello. My wireless works fine. But I have problems with hostname.rum0. It looks like file /etc/hostname.rum0 is ignored by rum driver. My /etc/hostname.rum0: # cat /etc/hostname.rum0 inet 192.168.0.1 255.255.255.0 NONE media autoselect mediaopt hostap nwid my_net chan 11 When I ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Wireless problem with hostname.rum0

  1. Wireless problem with hostname.rum0

    Hello.


    My wireless works fine.

    But I have problems with hostname.rum0.
    It looks like file /etc/hostname.rum0 is ignored by rum driver.

    My /etc/hostname.rum0:
    # cat /etc/hostname.rum0
    inet 192.168.0.1 255.255.255.0 NONE media autoselect mediaopt hostap
    nwid my_net chan 11


    When I reboot computer, hostname.rum0 is not loaded to configure rum0
    interface.
    # ifconfig rum0
    rum0: flags=8802 mtu 1500
    lladdr 00:0e:2e:xx:xx:xx
    media: IEEE802.11 autoselect
    status: no network
    ieee80211: nwid "" 100dBm

    Even up and down commands to ifconfig wont help. (ifconfig rum0 down;
    ifconfig rum0 up)

    I must manualy run tehese commands to start wireless adapter as Access
    Point:
    # ifconfig rum0 inet 192.168.0.1 255.255.255.0
    # ifconfig rum0 media autoselect mediaopt hostap nwid my_net chan 11
    # ifconfig rum0
    rum0: flags=8843 mtu 1500
    lladdr 00:0e:2e:xx:xx:xx
    media: IEEE802.11 autoselect hostap (autoselect mode 11b
    hostap)
    status: active
    ieee80211: nwid my_net chan 11 bssid 00:0e:2e:88:98:41 100dBm
    inet 192.168.0.1 netmask 0xffffff00 broadcast 255.255.255.0
    inet6 fe80::20e:2eff:fe88:9841%rum0 prefixlen 64 scopeid 0x6


    I tried this on OBSD 4.0 and 4.1 with two different computers.

    --------------------
    >From manual:

    # man rum
    The following hostname.if(5) example creates a host-based access point
    on
    boot:
    inet 192.168.1.1 255.255.255.0 NONE media autoselect \
    mediaopt hostap nwid my_net chan 11
    --------------------


    What am I doing wrong.

    Thank you.

    Regards,
    TomazZ


  2. Re: Wireless problem with hostname.rum0

    TomazZ writes:

    >But I have problems with hostname.rum0.
    >It looks like file /etc/hostname.rum0 is ignored by rum driver.


    Could you try running /etc/netstart manually and see what happens?
    Also, it might be a good idea to give us some idea of what does happen
    at start up.


    --
    ((name "Aaron Hsu")
    (email/xmpp "aaron.hsu@sacrificumdeo.net")
    (site "http://www.aaronhsu.com"))

+ Reply to Thread