LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   broadcom 802.11g and mdk 9.2 can't connect to LAN (https://www.linuxquestions.org/questions/linux-wireless-networking-41/broadcom-802-11g-and-mdk-9-2-cant-connect-to-lan-152276/)

jrhessey 03-01-2004 01:46 PM

broadcom 802.11g and mdk 9.2 can't connect to LAN
 
first off I am using the ndiswrapper method, which appears to me that it is running right now. I have the wifi network monitor built into gnome running, which tells me N/A, and when I type in the loaddriver command wifi and four little red dots appear. So to me that tells me its loaded. When I boot, eth0 (wired) and eth1 (wireless) both boot up to ok, unless the eth0 doesn't have a cable plugged in. Other than that nothing seems to look wrong. I type in vi /etc/sysconfig/network-scripts/ifcfg-eth1 to edit that... here it is...

Quote:

DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Wireless
ESSID=tribefans
KEY=87E146422170FA648C7168483A0
CHANNEL=11
GATEWAY=192.168.0.1
I figured that was all I needed... I moved onto the iwconfig and get this...

Quote:

lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462GHz Bit Rate=54Mb/s Tx-Power:16 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:246 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
in order for me to change anything with a command like:
iwconfig eth1 essid tribefans
it must be set to mode: Ad-Hoc. Managed will not let me change anything. This is what I get....

Quote:

[root@localhost don]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462GHz Bit Rate=54Mb/s Tx-Power:16 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:246 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

[root@localhost don]# iwconfig eth1 essid tribefans
[root@localhost don]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462GHz Bit Rate=54Mb/s Tx-Power:16 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:246 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
I tried typing ifup eth1 and got this error...

Quote:

Error for wireless request "Set Frequency" (8B04) :
SET failed on device eth1 ; No such device.
Error for wireless request "Set Encode" (8B2A) :
SET failed on device eth1 ; Operation not permitted.
Determining IP information for eth1... failed; no link present. Check cable?
I am like 15 feet away from my wireless router...

and now.... I'm stuck...

My lan setup is based on WIN XP ICS. The router is not DHCP, The "Server" is the dhcp. If I hook up eth0 linux works like a charm.

I have no idea what to do now... I've searched and couldn't find anything that seemed to help.... Any ideas??? Thanks!!

beyer42 03-01-2004 02:11 PM

not sure why Managed would give problems.

try for KEY syntax
KEY="restricted [1] xxxxxxxxxx"

Maybe also try 64 bit key (10 hex digits) instead for testing.

Also try adding NETMASK and BROADCAST settings
NETMASK=255.255.255.0
BROADCAST=192.168.0.255

jrhessey 03-01-2004 03:06 PM

here is what I get...

Quote:

[root@localhost don]# iwconfig eth1 KEY="restricted [1] 87E146422170FA648C7168483A0"
Error : unrecognised wireless request "KEY=restricted [1] 87E146422170FA648C7168483A0"
This one doesn't return anything...
Quote:

[root@localhost don]# KEY="restricted [1] 87E146422170FA648C7168483A0"
Quote:

[root@localhost don]# iwconfig eth1 KEY="restricted [1] 64e2861d28" Error : unrecognised wireless request "KEY=restricted [1] 64e2861d28"
I added the netmask and broadcast to the file ifcfg-eth1 file

when I add just Key ### whatever I get this now...

Quote:

[root@localhost don]# iwconfig eth1 key 87E146422170FA648C7168483A0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device eth1 ; Operation not permitted.

p.s. this is what the ad-hoc'd eth1 looks like...

Quote:

eth1 IEEE 802.11g ESSID:"tribefans"
Mode:Ad-Hoc Frequency:2.462GHz Cell: D6:A2:B4:FF:13:4D
Bit Rate=11Mb/s Tx-Power:16 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:199 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

delvsional 03-02-2004 01:41 AM

I'm just a newbie, but I got this to work on my Fujitsu. try typing
iwconfig eth1 ap any
ap will force it to connect to the nearest router.
If you are using the linuxant wrapper another thing that works sometimes is to go to 127.0.0.1:18020 in your browser and then click on settings - advanced and then save.

jrhessey 03-02-2004 11:10 AM

thanks.... I'll give that a try tonight when I get home...

jrhessey 03-03-2004 09:43 AM

that didn't work either... :(

I removed the wep access key and when I booted up and typed in iwconfig, the essid read "tribefans" with out any editing. However I couldn't get it to pick up an IP addy. So I turned on the dhcp on the netgear router, to see if I could get an IP addy from that. That didn't work either. When I turned dhcp off however, it know says tribefans in the essid and I have to add that, which I can only do in ad-hoc mode.


All times are GMT -5. The time now is 07:29 AM.