Re: rum0 acting as an Access point (belkin router) 8.0 R
Paul B Mahol schrieb: Argh sorry, you need to use: create_args_wlan0="wlanmode hostap" Yep, it works now: rc.conf: wlans_rum0="wlan0" create_args_wlan0="wlanmode hostap" network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" ifconfig_wlan0="inet 10.0.0.1/24 ssid OFFICE wepmode on wepkey 0xf00baaf00baaf00baaf00baaf0 weptxkey 1 channel 1" defaultrouter="172.27.2.116" ifconfig: rum0: flags=8843 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:50:cb:52:10 inet 10.0.0.1 netmask 0xff00 broadcast 10.0.0.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid OFFICE channel 1 (2412 Mhz 11g) bssid 00:11:50:cb:52:10 country US authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpower 0 scanvalid 60 protmode CTS dtimperiod 1 -dfs Hmm, should I throw the Belkin thing into the waste and buy something else? I was hoping that 8.0 had changed it to the better a bit. But if you are saying, rum(4) is still crappy... Not rum(4) but chip. Thanks for helping. -- Christoph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
On 1/18/10, Christoph Kukulies wrote: > Paul B Mahol schrieb: >> On 1/18/10, Christoph Kukulies wrote: >> >>> Craig Butler schrieb: >>> On Mon, 2010-01-18 at 16:25 +0100, Samuel Martin Moro wrote: > 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 Martin 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 > wrote: > > > >> Paul B Mahol schrieb: >> >> On 1/15/10, Christoph Kukulies 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 metric 0 mtu >> 2290 >> ether 00:11:50:cb:52:10 >> media: IEEE 802.11 Wireless Ethernet autoselect >> (autoselect >> ) >> 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 Wireless changed on 8, you have to define wlans in rc.conf then set the >>> That's why I'm asking :) >>> >>> network up onto the appropriate wlan entry; example; wlans_wpi0="wlan0" ifconfig_wlan0="WPA DHCP" Regards Craig B >>> Thanks Craig, and also Paul. It looks a bitt better now though still not >>> perfect. I don't see the SSID on the network yet >>> (I filled in a bogus wepkey for posting here, of course): >>> >>> rc.conf: >>> wlans_rum0="wlan0" >>> network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or >>> "auto"). >>> ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. >>> ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" >>> ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap >>> ssid Aachen >>> >> >> Still incorrect, remove "wlan create wlandev rum0" >> >> >>> wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" >>> defaultrouter="172.27.2.116" >>> >>> ifconfig: >>> rum0: flags=8843 metric 0 mtu >>> 2290 >>> ether 00:11:50:cb:52:10 >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>> status: associated >>> wlan0: flags=8843 metric 0 mtu >>> 1500 >>> ether 00:11:50:cb:52:10 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> ssid "" channel 10 (2457 Mhz 11g) >>> country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid >>> 60 >>> bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 >>> protmode CTS bintval 0 >>> >>> Note, that I would like to build up an AP, not a peer to peer or WLAN >>> client. >>> >> >> BTW rum(4) is crap in hostap mode. >> >> > > This i
Re: rum0 acting as an Access point (belkin router) 8.0 R
Craig Butler schrieb: ifconfig_wlan0="10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on wepkey 0xf00baaf00baaweptxkey 1 channel 1" erm missing inet ??? missing space between the wepkey and weptxkey ?? This only was a cut/paste error in the email text, not actually in the rc.conf. But I noticed that I can piecewise add parameters to the wlan0 interface: ifconfig wlan0 inet 10.0.0.1/24 < adds the IP ifconfig ssid OFFICE<< adds the ssid Only passing all parametrs in one line I fail to manage. -- Christoph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
On Mon, 2010-01-18 at 17:56 +0100, Christoph Kukulies wrote: > Paul B Mahol schrieb: > > On 1/18/10, Christoph Kukulies wrote: > > > >> Craig Butler schrieb: > >> > >>> On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: > >>> > >>> > 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 > wrote: > > > > > Paul B Mahol schrieb: > > > > On 1/15/10, Christoph Kukulies 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 metric 0 mtu > > 2290 > > ether 00:11:50:cb:52:10 > > media: IEEE 802.11 Wireless Ethernet autoselect > > (autoselect > > ) > > 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 > >>> > >>> > >>> > >>> > >>> > >>> Wireless changed on 8, you have to define wlans in rc.conf then set the > >>> > >>> > >> That's why I'm asking :) > >> > >> > >>> network up onto the appropriate wlan entry; > >>> > >>> example; > >>> > >>> wlans_wpi0="wlan0" > >>> ifconfig_wlan0="WPA DHCP" > >>> > >>> Regards > >>> > >>> Craig B > >>> > >>> > >>> > >> Thanks Craig, and also Paul. It looks a bitt better now though still not > >> perfect. I don't see the SSID on the network yet > >> (I filled in a bogus wepkey for posting here, of course): > >> > >> rc.conf: > >> wlans_rum0="wlan0" > >> network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or > >> "auto"). > >> ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. > >> ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" > >> ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap > >> ssid Aachen > >> > > > > Still incorrect, remove "wlan create wlandev rum0" > > > > > >> wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > >> defaultrouter="172.27.2.116" > >> > >> ifconfig: > >> rum0: flags=8843 metric 0 mtu 2290 > >> ether 00:11:50:cb:52:10 > >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >> status: associated > >> wlan0: flags=8843 metric 0 mtu 1500 > >> ether 00:11:50:cb:52:10 > >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > >> status: no carrier > >> ssid "" channel 10 (2457 Mhz 11g) > >> country US authmode OPEN privacy OFF txpower 0 bmiss 7 s
Re: rum0 acting as an Access point (belkin router) 8.0 R
Paul B Mahol schrieb: On 1/18/10, Christoph Kukulies wrote: Craig Butler schrieb: On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: 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 wrote: Paul B Mahol schrieb: On 1/15/10, Christoph Kukulies 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 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) 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 Wireless changed on 8, you have to define wlans in rc.conf then set the That's why I'm asking :) network up onto the appropriate wlan entry; example; wlans_wpi0="wlan0" ifconfig_wlan0="WPA DHCP" Regards Craig B Thanks Craig, and also Paul. It looks a bitt better now though still not perfect. I don't see the SSID on the network yet (I filled in a bogus wepkey for posting here, of course): rc.conf: wlans_rum0="wlan0" network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid Aachen Still incorrect, remove "wlan create wlandev rum0" wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" defaultrouter="172.27.2.116" ifconfig: rum0: flags=8843 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 10 (2457 Mhz 11g) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 Note, that I would like to build up an AP, not a peer to peer or WLAN client. BTW rum(4) is crap in hostap mode. This is what it looks like now: rc.conf: wlans_rum0="wlan0" network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" ifconfig_wlan0="10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on wepkey 0xf00baaf00baaweptxkey 1 channel 1" defaultrouter="172.27.2.116" ifconfig: rum0: flags=8843 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 11 (2462 Mhz 11g) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 Hmm, should I throw the Bel
Re: rum0 acting as an Access point (belkin router) 8.0 R
On 1/18/10, Christoph Kukulies wrote: > Craig Butler schrieb: >> On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: >> >>> 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 >>> wrote: >>> >>> Paul B Mahol schrieb: On 1/15/10, Christoph Kukulies 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 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) 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 >> >> >> >> >> >> Wireless changed on 8, you have to define wlans in rc.conf then set the >> > > That's why I'm asking :) > >> network up onto the appropriate wlan entry; >> >> example; >> >> wlans_wpi0="wlan0" >> ifconfig_wlan0="WPA DHCP" >> >> Regards >> >> Craig B >> >> > > Thanks Craig, and also Paul. It looks a bitt better now though still not > perfect. I don't see the SSID on the network yet > (I filled in a bogus wepkey for posting here, of course): > > rc.conf: > wlans_rum0="wlan0" > network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). > ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. > ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" > ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap > ssid Aachen Still incorrect, remove "wlan create wlandev rum0" > wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > defaultrouter="172.27.2.116" > > ifconfig: > rum0: flags=8843 metric 0 mtu 2290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 10 (2457 Mhz 11g) > country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > protmode CTS bintval 0 > > Note, that I would like to build up an AP, not a peer to peer or WLAN > client. BTW rum(4) is crap in hostap mode. -- Paul B Mahol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
Craig Butler schrieb: On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: 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 wrote: Paul B Mahol schrieb: On 1/15/10, Christoph Kukulies 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 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) 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 Wireless changed on 8, you have to define wlans in rc.conf then set the That's why I'm asking :) network up onto the appropriate wlan entry; example; wlans_wpi0="wlan0" ifconfig_wlan0="WPA DHCP" Regards Craig B Thanks Craig, and also Paul. It looks a bitt better now though still not perfect. I don't see the SSID on the network yet (I filled in a bogus wepkey for posting here, of course): rc.conf: wlans_rum0="wlan0" network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid Aachen wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" defaultrouter="172.27.2.116" ifconfig: rum0: flags=8843 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 10 (2457 Mhz 11g) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 Note, that I would like to build up an AP, not a peer to peer or WLAN client. -- Christoph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: > 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 wrote: > > > Paul B Mahol schrieb: > > > > On 1/15/10, Christoph Kukulies 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 metric 0 mtu 2290 > > ether 00:11:50:cb:52:10 > > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect > > ) > > 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 > >>> > >>> > >>> Wireless changed on 8, you have to define wlans in rc.conf then set the network up onto the appropriate wlan entry; example; wlans_wpi0="wlan0" ifconfig_wlan0="WPA DHCP" Regards Craig B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
On 1/18/10, Christoph Kukulies wrote: > Paul B Mahol schrieb: >> On 1/15/10, Christoph Kukulies 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 metric 0 mtu 2290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect > (autoselect ) > status: no carrier > > > Why "no carrier"? You still did not created wlan0 interface: Put wlans_rum0="wlan0" in rc.conf, and instead of ifconfig_rum0=". use ifconfig_wlan0=". -- Paul B Mahol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
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 wrote: > Paul B Mahol schrieb: > > On 1/15/10, Christoph Kukulies 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 metric 0 mtu 2290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect > ) > 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
Paul B Mahol schrieb: On 1/15/10, Christoph Kukulies 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 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rum0 acting as an Access point (belkin router) 8.0 R
On 1/15/10, Christoph Kukulies 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 > and got: > > > wlan0 > ifconfig: SIOCSIFMEDIA (media): Device not configured > > But suddenly the wlan0 device is there. > > Can anybody fill me in? > > -- > Christoph > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > -- Paul B Mahol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
rum0 acting as an Access point (belkin router) 8.0 R
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 and got: wlan0 ifconfig: SIOCSIFMEDIA (media): Device not configured But suddenly the wlan0 device is there. Can anybody fill me in? -- Christoph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"