LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-20-2005, 02:18 PM   #1
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Rep: Reputation: 0
wireless help


i'm running mandrake 10.2 and have installed ndiswrapper using urpmi. i was able to configure the card with the windows drivers. i checked the wireless connection in the mandrake control center and i am able to see and connect to my lan. the problem comes when i try to browse. any browser that i open times out when i try to connect to a web page. when i checked the status, i noticed that my gateway is blank. any help would be much appreciated.
 
Old 06-20-2005, 02:37 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Your access point should be set as gateway. I don't know how to do it in the graphical environment but from the command line it's
Code:
route add default gw *.*.*.*
where *.*.*.* is your access point's IP address.

edit: makes me think do you use dhcp and is the rest of the info collected ok, like IP address. If so it can also be a DNS problem. Do you have a name server set in your /etc/resolv.conf? If not:

Quote:
nameserver *.*.*.*
*.*.*.* is your access point's IP again.

Last edited by darkleaf; 06-20-2005 at 02:39 PM.
 
Old 06-20-2005, 02:43 PM   #3
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
i just checked the settings weth eth0, and they are the same. when i connect with eth0, there is no problem with browsing. the wifi is set to dhcp, and it pulls the same settings as eth0. any other suggestions?
 
Old 06-20-2005, 03:02 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Can you ping to your access point?
Can you ping to a numerical IP address? on the internet 216.239.37.99 is google.com
Can you ping to a normal address like http://google.com?

to ping:
Code:
ping -c 4 "address"
 
Old 06-20-2005, 03:15 PM   #5
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
when i am connected with wlan0 i am unable to ping out past my own ip by either ip or domain. when i am connected with eth0 i am able to ping out by both ip and fqdn. any other suggestions??
 
Old 06-20-2005, 03:17 PM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
You can't get past your own IP as in you can ping to the access point either? Or does it stop at the access point. If so did you try the gateway already.

The point is eth0 doesn't need to set a gateway since it goes via a cable, in other words always to the correct one. Wireless can connect to more.
 
Old 06-20-2005, 03:21 PM   #7
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
i can ping my own ip (192.168.1.102) but i get destination host unreachable when trying to ping the wireless router (192.168.1.1)
 
Old 06-20-2005, 03:26 PM   #8
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
on a side note, the same thing happens when i connect with a usb modem. wvdial makes the connection, but i am unable to browse. could these both be related??
 
Old 06-20-2005, 03:29 PM   #9
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Are you on the right channel, mode, wireless security, netmask etc. as your router expects you to be. I'd say part of this is right as you got info from dhcp. So essid and keys should be ok, right?
 
Old 06-20-2005, 03:31 PM   #10
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
yes, everything there is correct. i dumbed down the wireless router while trying to connect so i wouldn't have to mess with settings for the time being.
 
Old 06-20-2005, 03:34 PM   #11
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Can you post the output from
"iwconfig"
"ifconfig"
"route"

There must be something missing or wrong or you'd be able to ping at least to your router so this is kind of strange.
 
Old 06-20-2005, 04:02 PM   #12
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"default"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0F:66:9E:77:45
Bit Rate:54 Mb/s Tx-Power:14 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-31 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:2220 Missed beacon:0

sit0 no wireless extensions.

ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:8B:AA:5E:4D
inet6 addr: fe80::250:8bff:feaa:5e4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:374 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:5 dropped:0 overruns:0 carrier:10
collisions:0 txqueuelen:1000
RX bytes:34997 (34.1 Kb) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x1400

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:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1784 (1.7 Kb) TX bytes:1784 (1.7 Kb)

sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0 Link encap:Ethernet HWaddr 00:0C:41:F9:8A:E5
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:41ff:fef9:8ae5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:380 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38827 (37.9 Kb) TX bytes:1440 (1.4 Kb)
Memory:c800000-c801fff

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
 
Old 06-21-2005, 05:16 AM   #13
thieves.honor
LQ Newbie
 
Registered: May 2005
Posts: 10

Original Poster
Rep: Reputation: 0
boy, do i feel dumb. i corrected the problem. the software firewall wasn't configured for wlan0. after i configured it for wlan0 i was able to browse. thanks for all your help though.
 
Old 06-22-2005, 06:25 AM   #14
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Glad you fixed it. I was already really wondering what was going on with everything seemingly configured ok
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom Wireless (BCM4306) Wireless problems: modprobe ndiswrapper freezes HP Laptop shthap3ns Linux - Hardware 11 02-11-2007 12:53 PM
Trouble installing wireless-tools & trying to install Wireless PCI pragmatic Linux - Wireless Networking 1 06-21-2005 07:39 AM
wireless problems; Broadcom 802.11G Mini PCI Wireless with redhat WS surfbass Linux - Laptop and Netbook 1 12-17-2004 12:48 PM
need wireless internet help mandrake 10 dell inspiron 510m intel wireless 2100 3A nickleus Mandriva 3 11-09-2004 09:52 PM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration