LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-31-2005, 05:05 PM   #1
fpperryaz
LQ Newbie
 
Registered: May 2005
Location: Phoenix AZ
Distribution: Linspire 4.5
Posts: 6

Rep: Reputation: 0
Question Can't access internet thru router


I have a new PC with Linspire 4.5 preinstalled, NIC on the mother board. I have broadband internet access that is always on thru a gateway. I am using a router to access the internet with my WinXP PC with no problem. Have also connected the Linus unit via Cat5 cable to the router. I can ping the router, and on thru to the gateway box. I know the physical network is there. Now,.... how do I get Linspire to access the internet?? Can't seem to find a tutorial that deals with this situation. The browser can't find the internet. What other settings do I need to make? What other information do you need to help me with this? Thanks in advance.

Frank
 
Old 05-31-2005, 07:53 PM   #2
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Rep: Reputation: 15
hmmm.....

Make sure your router is setup to recognise your nic in the Linux box. With mine, the router only accepts trafic from registered MAC adresses as a security precaution.

Check your network settings for a DNS server at the desktop level. Try putting 4.2.2.2 as the first one in the list.

Also check to make sure the gateway is listed as the IP of the router just in case.

Regards,

Tony
 
Old 05-31-2005, 09:53 PM   #3
fpperryaz
LQ Newbie
 
Registered: May 2005
Location: Phoenix AZ
Distribution: Linspire 4.5
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you, Tony. I had the wrong IP for the gateway and no DNS. Entered correct info and Voila! Internet access. Life is good again. One of these days, I may try to install my wireless PCI. It's unsupported so I'm going to have to mess with ndiswrapper. Oh Joy.

Thanks again for saving my bacon...

Frank
 
Old 06-01-2005, 08:39 AM   #4
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Rep: Reputation: 15
Your very welcome Frank, glad I could help.

In regards to your wireless.... you might have to use madwifi in stead. I know I did. Depending on the chipset of the nic , you'll have to research which one works. There's plenty of posts and Wiki's that cover the subject on here ;-)

Regards,

Tony
 
Old 06-21-2005, 01:01 AM   #5
effennel
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
Hello,

I am having a similar problem, but the solution offered here did not help.

I have a machine dual boot Win2k/RH9. I access internet through a router. No problems with Win. No-go with Linux.

The router is configured as DHCP server.
Linux is configured to get the IP and DNS automatically.
Both are okay in the network config, but still no access to the Internet.

Any suggestion on how I go from here?

Thanks
FnL
 
Old 06-21-2005, 02:05 AM   #6
fpperryaz
LQ Newbie
 
Registered: May 2005
Location: Phoenix AZ
Distribution: Linspire 4.5
Posts: 6

Original Poster
Rep: Reputation: 0
Angry the cure didn't last

After getting the connection to work that one time, I shut down the computer. Next day on reboot it would no longer connect. I finally tried a Knoppix live CD. Running Knoppix the internet connection was found automatically. Now, if I could only figure out what settings I need to copy to the Linspire boot drive... Sorry I don't have more to offer.

Frank P
 
Old 06-21-2005, 01:08 PM   #7
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Rep: Reputation: 15
Frank and FNL,


I had problems setting mine up as well actually, the DHCP Client wasn't working too well.

My work around for this was to look at the settings on the router and write them to the config script for the nic. You will have to config the router to a "Static IP" address for the nic though.

Depending on your card there might be some differences especially if it isn't a wireless card. If the card was working before it might just be a matter of the router is changing the IPADDR setting each time. Here's the config file I used for mine;

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
STARTMODE=hotplug
DEVICE=ath0 (for my card)
#BOOTPROTO=dhcp
IPADDR=192.168.0.101 (change to your nic)
NETMASK=255.255.255.0 (change to your network)
NETWORK=192.168.0.1 (change to your router address)
ONBOOT=yes
WIRELESS=yes (if wireless)
WIRELESS_MODE=Managed (might be adhoc)
WIRELESS_ESSID=default (change to your's)
#WIRELESS_ENC_KEY=(your wep key here if used)
WIRELESS_RATE=54M (change to your maximum nic speed)
WIRELESS_IWPRIV=mode 3 (change to your's)
MII_NOT_SUPPORTED=yes (change to your's )

Hope this helps

Tony
 
Old 07-17-2005, 09:38 AM   #8
cas
LQ Newbie
 
Registered: Jul 2005
Distribution: Suse 9.2
Posts: 1

Rep: Reputation: 0
I just resolved a similar problem using Suse 9.2. Using ethereal, I saw that the dhcp client request was somehow passing through the router, so that an external network address was being given to the nic. The router then could not interpret requests from my computer. The DNS names obtained by the dhcp client were correct, though. So by leaving the DNS server names in place, but switching to the static IP setup with a local address (I chose 192.168.0.6, e.g., since the router is 192.168.0.1) made the setup work. You might have to experiment, or look at the properties of network connections on Windows computers on the network, to find an IP address the router will accept. The router here is a Broadcom NetXtreme 57xx Gigabit Controller.
 
  


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
Cannot access Internet through SUSE 9.2 Pro router nexangelus Linux - Networking 3 02-08-2005 10:58 AM
Can't access internet through router!!! aXoneX Linux - Networking 21 12-22-2004 03:47 AM
Ok, let's try this again. New Mandrake install. Can't access router/internet! Mateo1041 Linux - Newbie 25 11-20-2004 09:35 AM
can't access internet via router stormadvisor Linux - Networking 5 11-05-2004 06:36 PM
Internet access through router and wifi connection caudalie Linux - Wireless Networking 3 01-22-2004 03:51 PM


All times are GMT -5. The time now is 02:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration