Page 1 of 1

Wireless connect but won't work

Posted: Fri Jun 05, 2009 3:21 pm
by adrian.ccs
Hi I'm a complete newbie in Linux OS. I installed Mint 7 on a XP computer with dualboot. My internet connection did not work at the begining. It "connected" but it did not gave me internet access. I used my Windows wireless configuration. And still it would not work, then meanwhile I was moving everything randomly it worked. The next time I turned my computer on it didn't work again, and also the next few times. Could anybody please tell me how to solve this?

bests,
Adrian

Re: Wireless connect but won't work

Posted: Fri Jun 05, 2009 3:31 pm
by RedWagon
Try to connect to the network again then run the commands below for us and post the ouputs back here.

Code: Select all

lspci
ifconfig
iwconfig
ping -c 4 192.168.1.1
ping -c 4 www.google.com
ping -c 4 74.125.47.103

Re: Wireless connect but won't work

Posted: Fri Jun 05, 2009 4:12 pm
by adrian.ccs
here is all the info directly from the terminal
lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] (rev 01)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702X Gigabit Ethernet (rev 02)
02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20)
02:03.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)

ifconfig
eth0 Link encap:Ethernet HWaddr 00:0b:db:d7:a0:2e
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:11

eth1 Link encap:Ethernet HWaddr 00:04:23:5e:fd:89
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:5 Base address:0x6000 Memory:fafef000-fafeffff

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)


iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b ESSID:"linksys" Nickname:"ipw2100"
Mode:Managed Frequency:2.412 GHz Access Point: 00:16:B6:09:04:54
Bit Rate=11 Mb/s Tx-Power:16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=-53 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.


ping -c 4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.91 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=2.32 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=2.47 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=2.43 ms

--- 192.168.1.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 2.327/2.538/2.915/0.224 ms


ping -c 4 www.google.com
ping: unknown host www.google.com

ping -c 4 74.125.47.103
PING 74.125.47.103 (74.125.47.103) 56(84) bytes of data.




--- 74.125.47.103 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3000ms

Re: Wireless connect but won't work

Posted: Fri Jun 05, 2009 4:32 pm
by RedWagon
Eh, the Intel Pro Wireless cards don't run the best on Linux. I'm sure there's a fix, but I'll have to look into that specific model a little more when I get off work. What's weird is that you don't appear to have an IP address, but can still ping your router. There was a guy with a similar issue around here on the forums, but he had a slightly different model. Post back the output from the commands below and I'll look more into it when I get home.

Code: Select all

ifconfig eth1 192.168.1.200
ifconfig
iwconfig
ping -c 4 192.168.1.1
ping -c 4 www.google.com
ping -c 4 74.125.47.103

Re: Wireless connect but won't work

Posted: Fri Jun 05, 2009 4:56 pm
by adrian.ccs
adrian@adrianccs ~ $ ifconfig eth1 192.168.1.200
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
adrian@adrianccs ~ $ sudo ifconfig eth1 192.168.1.200
adrian@adrianccs ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0b:db:d7:a0:2e
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:11

eth1 Link encap:Ethernet HWaddr 00:04:23:5e:fd:89
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:fe5e:fd89/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:217 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45844 (45.8 KB) TX bytes:12258 (12.2 KB)
Interrupt:5 Base address:0x8000 Memory:fafef000-fafeffff

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)

adrian@adrianccs ~ $ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b ESSID:"linksys" Nickname:"ipw2100"
Mode:Managed Frequency:2.412 GHz Access Point: 00:16:B6:09:04:54
Bit Rate=11 Mb/s Tx-Power:16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=-52 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.

adrian@adrianccs ~ $ ping -c 4 192.168.1.200
PING 192.168.1.200 (192.168.1.200) 56(84) bytes of data.
64 bytes from 192.168.1.200: icmp_seq=1 ttl=64 time=0.059 ms
64 bytes from 192.168.1.200: icmp_seq=2 ttl=64 time=0.049 ms
64 bytes from 192.168.1.200: icmp_seq=3 ttl=64 time=0.050 ms
64 bytes from 192.168.1.200: icmp_seq=4 ttl=64 time=0.051 ms

--- 192.168.1.200 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.049/0.052/0.059/0.006 ms
adrian@adrianccs ~ $ ping -c 4 www.google.com
ping: unknown host www.google.com
adrian@adrianccs ~ $ ping -c 4 74.125.47.103
connect: Network is unreachable
adrian@adrianccs ~ $

Re: Wireless connect but won't work

Posted: Fri Jun 05, 2009 5:02 pm
by adrian.ccs
PD thanks for the help RedWagon

Re: Wireless connect but won't work

Posted: Fri Jun 05, 2009 6:54 pm
by RedWagon
I looked around, but with most of the issues on that model the wireless won't even see networks or connect at all. Since you can see, connect, and ping your router I think your issue may not be anything with drivers, but something more basic. Run the code below & paste back. Also, power cycle your router (unplug it, wait a few seconds, and plug it back in) and if possible try to connect to a different wireless network and see if you get the same results.

Code: Select all

lsmod | grep ipw2100
cat /etc/resolv.conf 
netstat -rn

Re: Wireless connect but won't work

Posted: Sat Jun 06, 2009 3:24 pm
by adrian.ccs
Hi well one thing when I start to ping google and my router (192.168.1.1) mozilla and pidgin start working, do you know a way to automatize that process on startup? Anyways this is what appeard on the terminal:

adrian@adrianccs ~ $ lsmod | grep ipw2100
ipw2100 71568 0
libipw 28416 1 ipw2100
adrian@adrianccs ~ $ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1
adrian@adrianccs ~ $ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1

Re: Wireless connect but won't work

Posted: Sat Jun 06, 2009 8:58 pm
by RedWagon
# Generated by NetworkManager
nameserver 192.168.1.1
You have no DNS server. When computers communicate over the Internet, or any network they use IP addresses instead of domain names. DNS servers are like giant phone books that look up the IP address from the domain name. This way, to go to a website you only have to remember the name, not a number like 53.255.54.83.
Unless your router is providing the DNS service (I highly doubt it) your computer can't take names like http://www.google.com and find the appropriate IP address. I did have you ping one of Googles IP addresses, but as a friend pointed out to me Google has many addresses and that one might not be reachable depending on where you live.

Hold on a sec.. did I read this right?
when I start to ping google and my router (192.168.1.1) mozilla and pidgin start working
Are you serious? Do you get replies from Google? And by Mozilla starts working you mean you can access websites? Was your output from your last post run before or after you pinged a few sites and stuff started working?

Re: Wireless connect but won't work

Posted: Sun Jun 14, 2009 12:17 pm
by adrian.ccs
No in the terminal I did not got any reply from google. But after I made that i opened Mozilla and I could access all the websites. I first tried to ping google and my router, then I could surf on the internet. Also dis-enabling wireless and re enabling it makes the internet work. Pretty weird huh?