LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2005, 06:56 PM   #1
chocobanana
Member
 
Registered: Jun 2004
Location: Vice City
Distribution: Suse 10.1
Posts: 30

Rep: Reputation: 15
No internet in Suse


Greetings

I just bought a wireless adsl modem/router from d-link, which works properly with windows but not with linux.

I have a dual-boot machine with Windows XP and Suse 10.0 and I'm connecting via wireless on both OSes. As I said, I can use internet normally in windows but I cannot in Suse. In Suse, I can access the router configuration page, I can ping it as well as another computer which is also connected to the router.

I already tryed to configure both the router and suse for static ip adress, but without luck and I also tryed to connect with suse firewall disabled.

In conclusion, I can access local adresses (the other pc and the router) but I cannot connect to the internet.

Can someone please help me sort this out?

Many thanks
 
Old 12-19-2005, 07:28 PM   #2
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Hi chocobanana,

It seems to me that your network is set up properly, but you might not have the default gateway setup. I am not sure how to do it on suse graphically, but from the command line, type:

Code:
route
This should give output something like:

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.254.0   *               255.255.255.0   U     0      0        0 eth0
default         192.168.254.254 0.0.0.0         UG    0      0        0 eth0
If you don't have the second line, then the command:

Code:
route add default gw xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the ip address of your router, you will set up the default gateway.

Hope this solves your problems.

Rhys
 
Old 12-20-2005, 08:39 AM   #3
chocobanana
Member
 
Registered: Jun 2004
Location: Vice City
Distribution: Suse 10.1
Posts: 30

Original Poster
Rep: Reputation: 15
Hi and thanks for your reply

I did what you showed and no luck. I also found how to do it graphically in yast and tryed it but without luck.

Do you have any more ideas?

Thank you
 
Old 12-20-2005, 10:55 AM   #4
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Hi,

Can you give us the output of 'route' and 'ifconfig' and 'cat /etc/resolv.conf'. Also, can you tell us the error message recieved when trying to access the net, e.g. in firefox.

Rhys
 
Old 12-20-2005, 11:29 AM   #5
chocobanana
Member
 
Registered: Jun 2004
Location: Vice City
Distribution: Suse 10.1
Posts: 30

Original Poster
Rep: Reputation: 15
Hi

Firefox output:

"www.google.com wasn't fount. Please verify the name and try again."


Route output before your suggestion:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo


Route output after your suggestion:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1


cat /etc/resolv.conf output:

search site


ifconfig output:

eth0 Link encap:Ethernet HWaddr 00:12:79:C6:1A:2E
inet6 addr: fe80::212:79ff:fec6:1a2e/64 Scope:Link
UP BROADCAST NOTRAILERS 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:10

eth1 Link encap:Ethernet HWaddr 00:12:F0:2AE:6B
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::212:f0ff:fe2a:de6b/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:288 errors:26 dropped:29 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:22339 (21.8 Kb) TX bytes:7169 (7.0 Kb)
Interrupt:11 Base address:0xe000 Memory:c8400000-c8400fff

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


Thanks
 
Old 12-22-2005, 09:53 AM   #6
chocobanana
Member
 
Registered: Jun 2004
Location: Vice City
Distribution: Suse 10.1
Posts: 30

Original Poster
Rep: Reputation: 15
Please help me!
 
Old 12-22-2005, 10:13 AM   #7
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
You don't have any nameservers listed, and so firefox does not know where to look for websites. find out what your dns/nameserver is, and add it to /etc/resolv.conf in the format:
Code:
 nameserver xxx.xxx.xxx.xxx
Good luck
Rhys
 
Old 12-22-2005, 10:13 AM   #8
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Everything else seems to be set up nicely, by the way.
 
Old 12-22-2005, 11:44 AM   #9
chocobanana
Member
 
Registered: Jun 2004
Location: Vice City
Distribution: Suse 10.1
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you very much

That worked perfectly!

Now I wonder why doesn't Suse did that automatically?...

Thanks again!
 
  


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
Suse 10 Internet batorma Linux - Newbie 3 11-30-2005 08:13 PM
SUSE 9.3 and internet pittopitto SUSE / openSUSE 8 10-02-2005 08:15 AM
Internet in Suse 9.0 Need Help! Tobizzle Linux - Networking 0 04-14-2004 01:37 PM
how do i get onto the internet with suSE 8.1? jeffy240 Linux - Newbie 2 10-03-2003 08:18 PM
Internet in SuSE 8.2 cowboy_ein Linux - Hardware 8 06-07-2003 02:12 AM

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

All times are GMT -5. The time now is 12:41 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