LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   HP WLAN driver for Intel 4965 using iwlwifi on Debian (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/hp-wlan-driver-for-intel-4965-using-iwlwifi-on-debian-655793/)

royce2020 07-21-2008 09:41 PM

root@royce:/home/royce# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:60:C7:06:D7
inet addr:10.1.1.53 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:60ff:fec7:6d7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15968 errors:0 dropped:0 overruns:0 frame:0
TX packets:14776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9669135 (9.2 MiB) TX bytes:1654408 (1.5 MiB)
Interrupt:16

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:116 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8504 (8.3 KiB) TX bytes:8504 (8.3 KiB)

wlan0 Link encap:Ethernet HWaddr 00:13:02:5F:D9:BA
inet addr:10.1.1.22 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9276 (9.0 KiB) TX bytes:1880 (1.8 KiB)

wmaster0 Link encap:UNSPEC HWaddr 00-13-02-5F-D9-BA-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)


root@royce:/home/royce# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"mainstream wireless"
Mode:Managed Frequency:2.437 GHz Access Point: 00:14:6C:A0:1B:E0
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:CDED-BDCD-99
Link Quality=76/100 Signal level=-58 dBm Noise level=-93 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root@royce:/home/royce# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 10.1.1.250 0.0.0.0 UG 0 0 0 wlan0
0.0.0.0 10.1.1.250 0.0.0.0 UG 0 0 0 eth0

There you go, I hope that helps.

Hangdog42 07-21-2008 11:21 PM

From your route - n output:

Code:

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.1.1.250 0.0.0.0 UG 0 0 0 wlan0

That gateway IP address looks odd. That should be the IP address of your access point/router, and if it isn't, then that might be the problem. Most consumer grade routers I'm aware of default to the very low end of the IP address range they use, not the high end. Anyway, if you can confirm or deny that your router is at 10.1.1.250 that might help.

If you router isn't at that IP address, try doing this as root in a console:

route add default gw 10.1.1.x

Where 10.1.1.x is the actual IP address your router uses. I hope this is actually the problem since everything else you posted looks good to me.


Quote:

On an unrelated note, I finally got around to trying Ubuntu Hardy Heron live CD last night, and the wireless worked straight away (the first time it ever worked under linux I think); I was surfing the web on it. So that rules out hardware incompatablility or driver (assuming they're the same) issues.
That's actually good to know. Maybe Ubuntu is in your future?

royce2020 07-23-2008 09:57 PM

Our network topography is a little more complicated than that. we have gateways that go to seperate sites with seperate subnets (for instance our other Auckland office that I visit has IPs 10.1.6.x) and with windows machines, the gateway has to be set to 10.1.x.250 to let it talk to machines in the other subnets.

The wireless access piont is 10.1.1.62 (which is assigned by the DHCP, another machine). Since this is assigned by DHCP, is it posible to use a host name rather than an IP number?
Is it posible to have more than one defualt gateway, or will doing that overwrite my previous gateway of 10.1.1.250 (letting me talk to our other sites)?

I am actualy sans laptop today, so I will try this command later on:

route add default gw 10.1.1.62

royce2020 07-24-2008 11:53 PM

I gave that a go and the only visible difernce is with the output of route -n, wich changes to:

root@royce:/home/royce# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 10.1.1.250 0.0.0.0 UG 0 0 0 wlan0
0.0.0.0 10.1.1.62 0.0.0.0 UG 0 0 0 wlan0

Other than that, nothing. Pinging the mailserver, the wirless piont, other computers all return the same error.

Hangdog42 07-25-2008 12:25 PM

I hate to say it, but I'm stumped. Since Ubuntu works fine, I'm guess that this isn't a hardware or network issue, so the only thing I can think of is that something has gotten hosed somewhere in the bowels of Debian. The only thing I can think of beyond this is to go through your log files and see if the driver or the wireless stack is complaining about anything. I suppose if you've got a firewall up, that also might cause trouble. Have you set one up?


All times are GMT -5. The time now is 05:45 PM.