rum0 acting as an Access point (belkin router) 8.0 R

Samuel Martín Moro faust64 at gmail.com
Mon Jan 18 15:25:45 UTC 2010


in my rc.conf:
ifconfig_rum0="DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
ReseauWIFI"

Maybe your problem is that wepkey is malformatted in your command
If not, I didn't try to understand, but I also had troubles with the
position of SSID keyword.
(ifconfig arg error, might be your problem)
(btw: I also had problem with ssid containing spaced characters)


Later, I tried to set it up as an hostap, it seems to work well.
But when I try to connect from an other computer, I'm unable to to join the
network.
(running under 7.2, I compiled the kernel adding a define matching my
device, based on a similar (I hope so...) chipset)


good luck


Samuel Martín Moro
CamTrace
{EPITECH.} tek4

"Nobody wants to say how this works.
 Maybe nobody knows ..."
                     Xorg.conf(5)


On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies <kuku at kukulies.org>wrote:

> Paul B Mahol schrieb:
>
>  On 1/15/10, Christoph Kukulies <kuku at kukulies.org> wrote:
>>
>>
>>> I'm not sure wether syntax has changed but I wanted to cretae an wlan
>>> acess point
>>> and tried various things. Under 7.0 I got it working with the following
>>> command
>>>
>>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
>>> on wepkey 0xf00baf00ba weptxkey 1 channel 1
>>>
>>>
>>> I tried this but got a socket error "Invalid argument".
>>>
>>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan
>>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
>>> wepkey 0xf00baaf00baa  weptxkey 1 channel 1
>>>
>>>
>>>
>>
>> Perhaps you want this one:
>>
>> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
>>
>>
>>
>
> I tried this in rc.conf:
>
> ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
> CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1"
>
> I got this:
>
> rum0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
>       ether 00:11:50:cb:52:10
>       media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (autoselect
> <adhoc>)
>       status: no carrier
>
>
> Why "no carrier"?
> And I would expect more info on the interface like SSID and such.
>
> --
> Christoph
>
>
>  and got:
>>>
>>>
>>> wlan0
>>> ifconfig: SIOCSIFMEDIA (media): Device not configured
>>>
>>> But suddenly the wlan0 device is there.
>>>
>>> Can anybody fill me in?
>>>
>>> --
>>> Christoph
>>>
>>>
>>>
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list