LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 10-06-2006, 02:32 AM   #1
eypros
Member
 
Registered: Jun 2005
Location: Salonica
Distribution: Xubuntu
Posts: 40

Rep: Reputation: 15
xubuntu small network ethernet problem


Hello,

I installed Xubuntu 6.06 on a slightly older computer. My problem is that I cannot connect to the internet.
My ethernet card is detected.
I have DHCP enabled and I guess I am getting an IP address.

Some exit from my ifconfig command (I'va coppied it and some are missing):
Link ancap ethernet HWaddr 00:80:48:B6:5B:BC
inet addr:192.168.1.4 BCast:192.168.1.255 Mask 255.255.255.0
inet6 addr fe80::280:48ff:feb6:5bbc/64 etc
UP BROADCAST RUNNING MULTICAST

I uses ifconfig down (I think this is the command) and setup DHCP again and then ifconfig again up.

I am using a computer connected to a LAN with win98 mainly through a router.

I don't know how to configure my connection. My cables are fine since my win98 connection to the same computer (dual boot) works fine.

I don't have samba but I think I need an internet access to download it.
 
Old 10-06-2006, 03:57 AM   #2
gostal
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu, Mandriva, Redhat, Arch
Posts: 13

Rep: Reputation: 0
It appears that DHCP provides you with an IP address but this is not all that is required. Gateway setting and DNS has to be set upp correctly and also proxy if you're router also acts as a proxy. The DNS setting can be examined by looking at /etc/resolv.conf Take a look what's in there and try to ping the addresses. The gateway should be provided by DHCP. Do a "netstat -nr" in a terminal window and see if you can ping the gateway address. If things go wrong try to resest the network by doing "sudo /etc/init.d/networking restart" in a terminal window. Also take a look at the following URLs:
http://ubuntuguide.org/wiki/Dapper#H...rk_connections
http://www.debianhelp.co.uk/network.htm
 
Old 10-09-2006, 01:58 AM   #3
eypros
Member
 
Registered: Jun 2005
Location: Salonica
Distribution: Xubuntu
Posts: 40

Original Poster
Rep: Reputation: 15
Ping worked but then I can't connect either

I looked at /etc/resolv.conf -> 192.168.1.1 (as expected I guess).

netstat -nr gave:
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0.

Since I don't know it it ok that there are 2 rows?

I also tried ping 192.168.1.1 and I guess it worked. But I also tried ping cnn.com not worked but google.com worked fine.

I don't know if I have a proxy router or how to configure it.

Any ideas?
 
Old 10-09-2006, 05:32 AM   #4
gostal
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu, Mandriva, Redhat, Arch
Posts: 13

Rep: Reputation: 0
Your router 192.168.1.1 apparently also acts as the DNS-server but unless the router is a fully equipped server it's unlikely that it has the capacity to resolve any addresses but those contained in a local cache.

I don't quite understand your setup. Does your win98 machine act as a router or is the router a separate machine?
If your win98 machine also accesses Internet through the router do

"ipconfig /all"

in a terminal window on the win98-box (run-> cmd will give you the terminal window). Then you will see the correct settings for gateway, DNS and the rest provided that the internet connection works. Use that information together with that contained in the URLs.
 
Old 10-10-2006, 04:42 AM   #5
srinivas_bs
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Is this your setup.

+--------+
Internet ---->|Hardware|-->Windows/Linux (Machine 1)
| Router |-->Linux (Machine 2)
+--------+

Or Is it one dual boot system with Windows and Linux, where Windows connects where as Linux does not work.
 
Old 10-13-2006, 01:43 AM   #6
eypros
Member
 
Registered: Jun 2005
Location: Salonica
Distribution: Xubuntu
Posts: 40

Original Poster
Rep: Reputation: 15
My LAN is like

Internet ---->|Hardware|-->Windows/Linux (XUBUNTU) (Machine 1)
| Router |-->Windows (Machine 2)
|________|-->Windows (Machine 3) etc

Machine 1 is dual booted with win98 and xubuntu. Others are win98 (usually).
I have tried Damn Small Linux LIve CD and I had internet access just fine. They both come from debian and I supposed it will work also.

I also tied pppoeconf and it failed!

If you have any ideas
 
Old 10-16-2006, 11:24 AM   #7
gostal
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu, Mandriva, Redhat, Arch
Posts: 13

Rep: Reputation: 0
I assume now that your Internet connection looks like this:

Internet-->Hardware Router-->win98/xubuntu (and that you also have other machines connected to the router)

This together with your routing table (netstat -nr) makes me pretty certain that as I've suggested above the problem is that your DNS setting for the router is not mapped through to your linux box. Since the router (192.168.1.1) is also by ubuntu taken to be the DNS server then for this to work the router has to be able to answer DNS requests which apparently it doesn't. Take a look at the router manual and see how DNS requests are handled. Or do as I've also suggested: take a look at the correct settings by looking at how your win98-installation gets its settings (ipconfig /all) and then manually edit the /etc/resolv.conf to reflect the info "ipconfig /all" on the windows machine gives you. What you want are the ip addresses for DNS.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to home network in xubuntu RArocks12 Linux - Newbie 1 09-29-2006 02:36 PM
xubuntu network file sharing!!! LINUX USER Linux - Software 3 07-25-2006 10:39 PM
pcmcia ethernet card detected by ubuntu but not xubuntu jaymoney Ubuntu 0 07-12-2006 05:40 PM
xubuntu - network problem walterbyrd Ubuntu 2 06-11-2006 02:02 AM
rc.local starting ethernet, small weird problem? b0uncer Linux - Networking 3 05-06-2004 12:45 PM


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

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
Open Source Consulting | Domain Registration