Zbigniew <zbigniew2...@gmail.com> writes:

> If I create - according to "man rum" - an /etc/hostname.rum0 file containing:
>
> #v+
> nwid <nwid>
> wpakey <wpakey>
> dhcp
> #v-
>
> ...it simply during bootup says: "rum0: no connection, sleeping". Why is that?

That sounds distinctly odd. I've had rums and they never needed much
in the way of special treatment. I tend to put all the link options on
one line, but that may or may not be relevant.

> Googling around, I tried to make it even more sophisticated:
>
> #v+
> up media autoselect mediaopt ibss mode 11g chan 2 nwid <nwid> wpakey <key>
> dhcp
> #v-

I'd do without the sophistication at this point. In almost all cases,
defaults or negotiated values carry the day. (Or you could record the
exact options from ifconfig output after a successful connect and put
those in). I usually do something like 

media autoselect nwid foobar wpakey ohsoseekrityeah
dhcp
rtsol

-- ditching one or the other of the last two depending on which
address families are actually available.

- Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to