Hardy Wifi Problems

d0b33

Honorary Master
Joined
Jul 16, 2004
Messages
17,506
Reaction score
493
Location
Western Cape
I got my wifi working but I am unable to access my router config panel (address 10.0.0.2 to login) and how do I create a wifi PPPoE connection?
 
when you say you have it working, is that to say you can see wlan0 is created? What is the output of sudo ifconfig?
 
yes, wlan0 is working...

ndiswrapper -l
Code:
bcmwl5 : driver installed
        device (14E4:4328) present

ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:1b:63:bc:ae:4e
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17

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:3074 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3074 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:153700 (150.0 KB)  TX bytes:153700 (150.0 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1e:52:c6:8f:6f
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 Memory:50500000-50504000
 
From what you've posted above wlan0 has no IP address meaning that while it has been created it is not talking to your router. Are you using Kubuntu again? If so try running KNetworkManager (you might have to install it) and try connect to your router.

EDIT: Have you tried this
 
Last edited:
running ubuntu.

I tried sudo pppoeconf

It detected my hardware but when it scanned for "access concentrator" it said non found

An IP address will solve this you say?
 
what does sudo cat /etc/network/interfaces produce? (be sure to put something like xxxx where you have a password or the name of your router). Also the output of sudo iwlist?
 
what does sudo cat /etc/network/interfaces produce? (be sure to put something like xxxx where you have a password or the name of your router). Also the output of sudo iwlist?

Code:
auto lo
iface lo inet loopback


iface wlan0 inet dhcp
address 10.0.0.3
netmask 255.0.0.0
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid XXXXXX

auto wlan0

Code:
Usage: iwlist [interface] scanning [essid NNN] [last]
              [interface] frequency 
              [interface] channel 
              [interface] bitrate 
              [interface] rate 
              [interface] encryption 
              [interface] keys 
              [interface] power 
              [interface] txpower 
              [interface] retry 
              [interface] ap 
              [interface] accesspoints 
              [interface] peers 
              [interface] event 
              [interface] auth 
              [interface] wpakeys 
              [interface] genie 
              [interface] modulation
 
iirc the syntax should be iwlist wlan0 scan. sorry about that. will look at the interfaces output a bit later.
 
Does the router you are connecting to broadcast its SSID?
 
sorry i was replying from my phone earlier. did you run iwlist wlan0 scan or iwlist wlan0 scanning?

An aside, but shouldn't your netmask be 255.255.255.0?

EDIT: You mention pppoeconf above, so are you looking to create the internet connection on the computer? rather than the router connect to the internet?
 
Last edited:
sorry i was replying from my phone earlier. did you run iwlist wlan0 scan or iwlist wlan0 scanning?

An aside, but shouldn't your netmask be 255.255.255.0?

tried both scan and scanning, the same result.

I'm using DHCP but I changed the subnet mask now and it reads

Code:
auto lo
iface lo inet loopback


iface wlan0 inet dhcp
address 10.0.0.3
netmask 255.255.255.0
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid XXXXXX

auto wlan0

I'm using a macbook btw and it uses a broadcom wifi adapter


EDIT: You mention pppoeconf above, so are you looking to create the internet connection on the computer? rather than the router connect to the internet?

Yes, but I tried to connect with router only and had no luck
 
Last edited:
My setup has changed after I deleted my subnetmask and IP address and chose DHCP...


Code:
wlan0     Link encap:Ethernet  HWaddr 00:1e:52:c6:8f:6f  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 Memory:50500000-50504000 

wlan0:avahi Link encap:Ethernet  HWaddr 00:1e:52:c6:8f:6f  
          inet addr:169.254.7.124  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:16 Memory:50500000-50504000


Code:
auto lo
iface lo inet loopback


iface wlan0 inet dhcp
wireless-key s:XXXXXX
wireless-essid XXXXXX

auto wlan0
 
Last edited:
Try adding wpa-psk <your_hex_key> to the /etc/network/interfaces file

# wpa_passphrase <your_ssid> <your_ascii_key>

Resulting in an output like...
Code:
:
network={
ssid="test"
#psk="12345678"
psk=fe727aa8b64ac9b3f54c72432da14faed933ea511ecab1 5bbc6c52e7522f709a
}

Copy the "hex_key" (next to "psk=...") and replace <your_hex_key> in the "interfaces" files with it. Then save the file and restart your network:

Code:
sudo /etc/init.d/networking restart
 
no problem. i once installed a wifi card. it was murder to say the least. infact I am dreading when i eventually buy my laptop and need to connect it up. One thing whatever laptop it is will be bought with extensive consultation with debian and fedora forums.
 
OK sorry for the delay...

that never worked.

I was told to install wicd on the ubuntu forums, I was able to successfully connect to my wifi router with wicd but when I tried to surf the net using firefox pages were stuck at "looking up".

So I rebooted and tried again but I was unable to connect to my wifi network since, my SSID could not be accepted again.

I give up on this till there's a definite fix available
 
If you could ping your router then you are 95% there.

What you need to do is first ping the router address. if this works then things are cool.

What you then need to do is to look at /etc/resolv.conf

Code:
nameserver 192.168.1.1

10.0.0.2 is my router address. Replace that with your router address if it is different.
 
If you could ping your router then you are 95% there.

What you need to do is first ping the router address. if this works then things are cool.

What you then need to do is to look at /etc/resolv.conf

Code:
nameserver 192.168.1.1

10.0.0.2 is my router address. Replace that with your router address if it is different.

Thanks, I'll try that

My router address is 10.0.0.2 also but I cant get it to connect again, my ssid can not want to be accepted again.

Do you think the telkom router could be problematic for linux?
 
Top
Sign up to the MyBroadband newsletter
X