View previous topic :: View next topic |
Author |
Message |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Mar 25, 2004 4:05 pm Post subject: |
|
|
If the essid is Biowireless then the command is
wireless_key_Biowireless="restricted s:fooba"
Of course, you could change restricted to open or leave it out entirely and let the driver decide. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Grilo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/klo.gif)
Joined: 22 Apr 2003 Posts: 114 Location: Canada
|
Posted: Thu Mar 25, 2004 5:09 pm Post subject: |
|
|
ok thank you ben using the iwconfig command essid then enc
it connects but then just dies and will not even register teh eth1 if i do a iwconfig.. could that be my signal? _________________ Knowledge is power but the drive to learn is harnessing wizdom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
god8y n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2003 Posts: 71
|
Posted: Thu Mar 25, 2004 5:36 pm Post subject: |
|
|
Weird, I've finally found the problem why I couldn't connect to the AP.
I have to set my channel with iwconfig manually and then start my eth1 device, any idea's how to fix this ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Grilo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/klo.gif)
Joined: 22 Apr 2003 Posts: 114 Location: Canada
|
Posted: Thu Mar 25, 2004 6:11 pm Post subject: |
|
|
i have wep running at 64bit and am using a key and not a parpass. not sure... i am looking into ways of boosting my router's signal. its' an smc 7004vwbr _________________ Knowledge is power but the drive to learn is harnessing wizdom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
god8y n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2003 Posts: 71
|
Posted: Thu Mar 25, 2004 6:20 pm Post subject: |
|
|
Some other problem I bumped on now, I can 'connect' to the AP with a HEX WEP key (128bit) but I cannot ping anything or get pinged, assume the key is 01234567890123456789012345
I should set
wireless_key_De_Coninck="open 0123-4567-8901-2345-6789-0123-45"
right?
problem is: I can connect to the AP but i have to manually set the WEP key again to make it possible the machine can be accessed |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Mar 25, 2004 7:31 pm Post subject: |
|
|
god8y wrote: | Some other problem I bumped on now, I can 'connect' to the AP with a HEX WEP key (128bit) but I cannot ping anything or get pinged, assume the key is 01234567890123456789012345
I should set
wireless_key_De_Coninck="open 0123-4567-8901-2345-6789-0123-45"
right?
problem is: I can connect to the AP but i have to manually set the WEP key again to make it possible the machine can be accessed |
If you manually set the WEP key and it works, put exactly what you type after "iwconfig eth0 key" in the wireless_key_De_Coninck field. _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
god8y n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2003 Posts: 71
|
Posted: Thu Mar 25, 2004 8:06 pm Post subject: |
|
|
UberLord wrote: | god8y wrote: | Some other problem I bumped on now, I can 'connect' to the AP with a HEX WEP key (128bit) but I cannot ping anything or get pinged, assume the key is 01234567890123456789012345
I should set
wireless_key_De_Coninck="open 0123-4567-8901-2345-6789-0123-45"
right?
problem is: I can connect to the AP but i have to manually set the WEP key again to make it possible the machine can be accessed |
If you manually set the WEP key and it works, put exactly what you type after "iwconfig eth0 key" in the wireless_key_De_Coninck field. |
So if i type in:
iwconfig eth1 enc 01234567890123456789012345
I have to use:
wireless_key_De_Coninck="enc 01234567890123456789012345" ?
then i get:
eth1 doesn't support setting keys , so i guess it freaks on the enc thing.
I've set the wireless_key to
wireless_key_De_Coninck="open 01234567890123456789012345"
but it gives the same as first posted then, i have to reset the key manually with iwconfig to get it working on the network. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Mar 25, 2004 8:51 pm Post subject: |
|
|
god8y wrote: |
So if i type in:
iwconfig eth1 enc 01234567890123456789012345
I have to use:
wireless_key_De_Coninck="enc 01234567890123456789012345" ?
then i get:
eth1 doesn't support setting keys , so i guess it freaks on the enc thing.
I've set the wireless_key to
wireless_key_De_Coninck="open 01234567890123456789012345"
but it gives the same as first posted then, i have to reset the key manually with iwconfig to get it working on the network. |
Aha
key is the same as enc
so simply do
wireless_key_De_Coninck="01234567890123456789012345" _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
god8y n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2003 Posts: 71
|
Posted: Thu Mar 25, 2004 9:01 pm Post subject: |
|
|
If I use that as setting it won't even let me connect to it, seems like it needs the word open or restricted ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
haven Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1874784213402e00b6d6df2.gif)
Joined: 19 Nov 2003 Posts: 141 Location: Belfast, Uk
|
Posted: Thu Mar 25, 2004 9:03 pm Post subject: |
|
|
I just wanted to post up a quick thank-you. Last night I was running my DWL-AG650 Card under windows and I had no idea what linux wifi entailed.
Tonight I am posting this via the same laptop booted under gentoo
Thanks for the very helpful information found on here combined with notes from the url below:
http://www.linuxquestions.org/hcl/showproduct.php?product=675
Now I just need to figure out WPA but that can wait until another night.
Ta once more guys. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hänse n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Dec 2003 Posts: 52 Location: Zürich, Switzerland
|
Posted: Thu Mar 25, 2004 9:27 pm Post subject: question |
|
|
hi
this script is great, now i can configure my various wlans easily. but i have two questions
1. where can i set the nick (like "iwconfig wlan0 nick NAME" does)
2. where can i set the timeout for scanning for network "any"
thx ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Mar 25, 2004 10:18 pm Post subject: Re: question |
|
|
h�nse wrote: | hi
this script is great, now i can configure my various wlans easily. but i have two questions
1. where can i set the nick (like "iwconfig wlan0 nick NAME" does)
2. where can i set the timeout for scanning for network "any"
thx ![Wink ;-)](images/smiles/icon_wink.gif) |
1. In the setting wireless_config_wlan0="nick NAME"
You can also put other stuff in there like "channel 6 rate auto" for example
2. You can't set a timeout for individual ESSID's
However, you can set timeouts for
wireless_sleep_scan_wlan0 - Timeout before scanning
wireless_sleep_associate_wlan0 - Timeout to associate with an AP
If that's not enough, you can force timeouts by executing a script that just sleeps using
preifup_eth0="/run/this/script" _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hänse n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Dec 2003 Posts: 52 Location: Zürich, Switzerland
|
Posted: Thu Mar 25, 2004 10:58 pm Post subject: |
|
|
thx it works great ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Phylroy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_No_2.gif)
Joined: 23 Mar 2004 Posts: 18
|
Posted: Fri Mar 26, 2004 4:34 am Post subject: Problems with WUSB11 |
|
|
I think I'm close but not quite...
I've set up the net scripts and It fails, I think at the dhcpcd part.
I try to start the script and I get this result..
Code: |
bash-2.05b# /etc/init.d/net.eth1 restart
* Configuring wireless network for eth1...
* Connecting to "any"
* Connected to "USR8054" [ ok ]
* Bringing eth1 up...
* Failed to start DHCP on eth1
|
My output from my dmesg is
Code: |
hub.c: new USB device 00:10.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x77b/0x2219) is not claimed by any active driver.
usb.c: registered new driver usbvnetr
usb vendor/product=77b/2219
vnet_kernel.c: Reseting Usb Device
vnet_kernel.c: Reset completed.
Reg Domain
usbvnetr: driver version 1.0.1, compiled Mar 22 2004 19:41:48 (dbg_mask x0)
MAC addr 00:06:25:B0:99:C1 firmware 1.103.2.164
divert: allocating divert_blk for eth1
Multicast is enabled
divert: allocating divert_blk for eth1
divert: freeing divert_blk for eth1
vnetusba.c: usb eth1 initialized and registered
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
eth1: no IPv6 routers present
vnetusba.c: Device eth1 closed
|
I thought it may be an IPv6 issue...(maybe it is anyways) but I was able to connect using my wired eth0
Code: |
eth0 Link encap:Ethernet HWaddr 00:0C:6E:C7:FE:D3
inet addr:192.168.123.100 Bcast:192.168.123.255 Mask:255.255.255.0
inet6 addr: fe80::20c:6eff:fec7:fed3/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2966 errors:0 dropped:0 overruns:0 frame:0
TX packets:1240 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1430622 (1.3 Mb) TX bytes:167447 (163.5 Kb)
Interrupt:23
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:576 (576.0 b) TX bytes:576 (576.0 b)
|
But it is strange because it picked up all my AP's information
Code: |
bash-2.05b# iwconfig eth1
eth1 ATMEL RFMD503A ESSID:"USR8054" Nickname:"USR8054"
Mode:Managed Channel:11 Access Point: 00:C0:49:CC:A1:94
Bit Rate:11Mb/s
RTS thr=65535 B Fragment thr=65534 B
Encryption key:off
Link Quality:100 Signal level:5 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
|
Any ideas?
I'm running the 2.4.22-gentoo-r7 kernel with the atmel driver. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
god8y n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2003 Posts: 71
|
Posted: Fri Mar 26, 2004 9:49 am Post subject: |
|
|
Hey,
Uberlord I think i came to a bug in the script orso, because when i set the wireless_wep_De_Coninck="open 01234567890123456789012345" It always fails for me to connect and get eth1 up, if I set it to restricted i can connect to it, but I have to reset the key again and with mode: open
any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
god8y n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2003 Posts: 71
|
Posted: Fri Mar 26, 2004 2:52 pm Post subject: |
|
|
if I let the driver decide it keeps the same :s
dammit stupid drivers ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
god8y n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Jun 2003 Posts: 71
|
Posted: Fri Mar 26, 2004 4:31 pm Post subject: |
|
|
Doesn't he launch the script then before the device is up ? It has to be started after it though, I will try ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
t_2199 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 20 Mar 2004 Posts: 146
|
Posted: Sat Mar 27, 2004 1:59 am Post subject: |
|
|
Works great for me with the first try!
THANX!
saved me alot of time |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|