LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-25-2005, 08:22 AM   #1
Daddy_Cool
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10
Posts: 2

Rep: Reputation: 0
Mandrake 10 connecting to internet.


Hi! This is my first linux installation and I was wondering if someone could help me hooking it up to the net.

I have mandrake 10 and a 3com ethernet card. The connection goes through a router to an adsl modem so we can share the internet.

I have tried drackconnect to set up a new LAN network configuration and I think this has worked as I can ping the modem and the network monitor shows recieving and sending packets. However when I press the connect button for the internet it will either stop after two .'s in the status bar. Or will connect then drop the connection after about 5 seconds.

I also can't reach the admin page of my adsl modem, which I thought would be possible if the network is working ok. (Everything works fine in windows so the actual equipment is ok).

DHCP is enabled if that is any help.

Also please could someone explain what a ZeroConf Hostname is and what it does?

Thanks for any help! The sooner I can use Linux as a primary OS the better
 
Old 05-02-2005, 11:28 PM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
I would suggest taking the router out of the chain as an experiment to see if you can connect and stay connected with it gone. If so, then you will know the router's the problem. I don't use a router, so I can't help you with that part.

Also try, instead of using the network connection wizard type thing, typing (as root)

Code:
adsl-start
and see if it connects and stays connected.

I have had lots of trouble getting the Mandriva (formerly Mandrake...) control panel to work right when trying to get my ADSL connection going. The connection can be totally OK sometimes yet Mandriva/drake doesn't seem to recognize it. For instance, it has repeatedly insisted on saying I have a LAN connection, when I don't.

Once I get a good pppoe setup working, I never have to use the control panel thing anymore. I can start and stop ADSL from the command line. I use Roaring Penguin pppoe, if it makes any difference.

I hope this gives you at least some starting point for troubleshooting.

(Edit: Sorry, I left the hyphen out of "adsl-start" at first.)

Last edited by jonr; 05-02-2005 at 11:32 PM.
 
Old 05-03-2005, 12:44 AM   #3
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Re: Mandrake 10 connecting to internet.

DHCP is usually pretty painless to setup and normaly you don't have to do anything. "Jonr" had a good suggestion to take the router out of the loop for now to see if it connects directly to the modem.

Not sure what you mean when you say:

Quote:
I press the connect button for the internet it will either stop after two .'s in the status bar. Or will connect then drop the connection after about 5 seconds.
Normally you would not connect/disconnect unless you specifically wanted to stop net traffic.

Try running (with your router connected)

netstat -nr

Should give you something like this.

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

Then try checking your ifcfg-eth0 file:

cat /etc/sysconfig/network-scripts/ifcfg-eth0

check that Device is pointing to the correct NIC and that DHCP is enabled.

DEVICE=eth0
BOOTPROTO=dhcp

Also for connecting to your router's Web interface. Get the "Gateway" address from the netstat output... Mine is 192.168.2.1 This should be the address for your router configuration:

http://192.168.2.1

Check if you have any firewalls or other security setup there. Strange though. If it worked in Windows then I don't think it would be a router issue.

Maybe your NIC is on eth1 for some reason. Netstat should tell you that though.

Good Luck

KC
 
  


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
Connecting to Internet with Mandrake suwandy_chandra Linux - Newbie 2 03-07-2004 03:35 AM
Mandrake 9.1 Connecting to Internet Through Router Chryzmo Linux - Networking 2 01-20-2004 09:20 PM
connecting to the internet on mandrake iamacup Linux - Newbie 3 10-27-2003 01:53 AM
Mandrake 9.1 & connecting to Internet polonator Linux - Networking 17 07-11-2003 11:34 AM
Mandrake 9.1, trouble connecting to internet. KiLLaWaBBiT Linux - Networking 2 06-08-2003 08:13 PM

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

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