LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-18-2002, 10:10 AM   #1
Pongo
LQ Newbie
 
Registered: Nov 2002
Location: Salford, UK
Distribution: Redhat 8.0
Posts: 14

Rep: Reputation: 0
Linux/adsl


Right,

I have set up REDHAT 8.0 on my system, which uses a ADSL Router and D-LINK ethernet card. I have run Internet connection wizard a thousand times and despite all the different configurations i have tried..the damned thing will not connect to the net!!!!! I have used the dhcp options etc. and all i get is one of two things happening:
i) instant error, "www.blahblah.com could not be found..or..
ii) the "resolving "www.blahblah.com" " which goes on indefinately...causing the system to grind (almost) to a halt...

strange thing is...and why i am begging to think it's hardware is because the same thing happens whether i connect the ADSL line to the socket or not...it's as if the system never goes as far as sending information out...it even reports (in the bottom of the browser) that i am on line.....

I AM A LINUX NOOB so please forgive my stupdity..! :-)
 
Old 12-18-2002, 02:29 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
type 'ifconfig' in a console window. Post results.
 
Old 12-18-2002, 06:36 PM   #3
Pongo
LQ Newbie
 
Registered: Nov 2002
Location: Salford, UK
Distribution: Redhat 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
ifconfig report...

eth0 Link encap:Ethernet HWaddr 00:05:5D:6A:42:33
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1912 (1.8 Kb) TX bytes:2122 (2.0 Kb)
Interrupt:10 Base address:0xe800

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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 b) TX bytes:700 (700.0 b)


this is what i got....
 
Old 12-18-2002, 06:52 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Looks like you've got a static (private) IP. You need a DHCP client to start up when you boot. I'm not sure which one RH8 uses - dhcpcd or pump.

Try (as root) 'dhcpcd eth0'
 
Old 12-18-2002, 07:03 PM   #5
Pongo
LQ Newbie
 
Registered: Nov 2002
Location: Salford, UK
Distribution: Redhat 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
pump...

a friend of mine told me to make sure pump is installed...how do i install pump????
 
Old 12-18-2002, 07:13 PM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
First see if you have 'pump' already installed. If not... I have no idea what RedHat is using for a package tool these days.

Any RH fans around???
 
Old 12-19-2002, 11:27 AM   #7
Pongo
LQ Newbie
 
Registered: Nov 2002
Location: Salford, UK
Distribution: Redhat 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
i tried the ifdown eth0 command,
followed by ifup eth0; worked ok...then it said insufficient command or something...as if i was missing something out....any ideas?
 
Old 12-20-2002, 03:37 PM   #8
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Try a traceroute to some ip of your choice. It doesn't actually matter whether the ip is assigned or not. If your connection works, you'll see the route to that particular ip. If this works, you might need to add the dns server address of your isp in resolv.conf. This did it for me. AND, check that you have read access to resolv.conf. If you don't, root can ping www.google.ch, but as user, you cannot...
Hope it helps
 
Old 12-21-2002, 07:29 AM   #9
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Quote:
Originally posted by mcleodnine
Looks like you've got a static (private) IP. You need a DHCP client to start up when you boot. I'm not sure which one RH8 uses - dhcpcd or pump.

Try (as root) 'dhcpcd eth0'
From RH 8.0 onwards, they've started using dhcient.

It shows in the ps listing as:
/sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases \
-pf /var/run/dhclient-eth0.pid -cf /etc/dhclient.conf
 
Old 12-21-2002, 07:33 AM   #10
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Re: pump...

Quote:
Originally posted by Pongo
a friend of mine told me to make sure pump is installed...how do i install pump????
If all you need to do is to enable dhcp in RH 8.0
save the last 3 lines as your
/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes


You may want to change the yes against ONBOOT to no, I'm not familiar with how ADSL works.

now you may run:
/sbin/service network restart
 
Old 12-21-2002, 08:01 AM   #11
Pongo
LQ Newbie
 
Registered: Nov 2002
Location: Salford, UK
Distribution: Redhat 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
cheers for that...i will try it and see how it goes
 
  


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
adsl-setup or adsl-start not found as user! bnchakraborty Linux - Newbie 2 01-18-2008 10:23 PM
ADSL on linux ronsha Linux - Newbie 2 10-09-2005 07:07 PM
ADSL and Linux AlanQ Linux - Hardware 2 04-24-2005 09:24 AM
ADSL and linux help linuxturtle Linux - Networking 3 09-02-2003 07:06 PM
ADSL e linux SuperSadSmile Linux - General 24 02-25-2003 10:08 AM

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

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