LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-05-2008, 08:02 AM   #1
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Rep: Reputation: 31
ubuntu 8.10 and ethernet


hi . i do have a laptop samsung r60plus and i installed ubuntu 8.10. unfortunately i cannot ping anywhere even my gw. i can see that ifconfig gives me ip from dhcp. any ideas anyone?
 
Old 11-05-2008, 08:22 AM   #2
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
What is the output of ifconfig and route -n
What is the ip of your gateway?
 
Old 11-05-2008, 03:12 PM   #3
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Original Poster
Rep: Reputation: 31
aris@aris-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:77:63:eb:9d
UP BROADCAST RUNNING MULTICAST MTU:64 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2972 (2.9 KB) TX bytes:2890 (2.8 KB)
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:248 errors:0 dropped:0 overruns:0 frame:0
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15648 (15.6 KB) TX bytes:15648 (15.6 KB)

aris@aris-laptop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
aris@aris-laptop:~$ ping 4.2.2.2
connect: Network is unreachable
aris@aris-laptop:~$
 
Old 11-06-2008, 01:35 AM   #4
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
> i can see that ifconfig gives me ip from dhcp
According to your last post, you did not get an ip from the dhcp server.
You might try manually configuring it: $ sudo ifconfig eth0 <client ip> netmask <255.255.255.0> UP
Then add the default gateway to the route table: $ sudo route add default gw <ip of gateway>
Then test it: $ ping www.google.com
 
Old 11-06-2008, 02:18 AM   #5
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Original Poster
Rep: Reputation: 31
thanks a lot for your reply.
on the top right hand side corner next to the clock there is a 'button' that has two computers. it is exaclty the same as in windows and it gives me information about the network card. it says that i got the ip 10.0.0.7 from gw 10.0.0.2 with mask 255.0.0.0.
unfortunately i cannot find the tool to edit the network configuration file in ubuntu 8.10, as in 8.04. any ideas?
 
Old 12-10-2008, 04:35 AM   #6
toki
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Hi there, glad to see you had the same trouble I have had tonight. I hope you have found this solution but I will post anyway:
I found a couple of warnings about the MTU setting of 64 that is in your ifconfig result (as it was in mine). Thus after setting the network connection manually (DHCP didn't work) I did:

# ifconfig eth0 MTU 1496.

Then I had to right click on the network connection icon next to the clock, uncheck "enable connection" and then check it again.
After doing so the IP address, netmask etc settings were visible in the ifconfig result and the internet connection worked.
Please let me know how you get on.
 
  


Reply



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
Ubuntu ethernet modem router problem stubbs@zetnet.co.uk Linux - Networking 2 05-08-2007 02:41 PM
Difficulty connecting Ubuntu to XP via ethernet hacker supreme Linux - Networking 4 11-01-2006 07:18 AM
Ubuntu: VMware not finding ethernet device X3ndou Linux - Software 6 08-26-2005 05:51 PM
Ethernet down/up problem in UBUNTU Hoary oahmet Linux - Networking 0 05-20-2005 08:36 AM
I've got 2 ethernet cards - but Ubuntu sees only one Richmond Linux - Hardware 2 04-22-2005 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:41 PM.

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