LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-11-2003, 01:22 PM   #1
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Rep: Reputation: 15
Angry Connection problems


I'm having problems setting up my cable connection in Mandrake linux 9.1. I've been using redhats 8 & 9 for the past year and it always set up the connection when I loaded the OS. So, I'm not necessarily a Linux newbie. Anyhow, drakx gives me tons of problems when trying to setup my network connection I'm trying to set it up dhcp, I've run ifconfig, and it shows that my eternet card is up, I've tried putting in the ip addys(mask and all) and setting it up to be static. still it doesn't work for me. Please help!!!!!! email me (opafire@hotmail.com) or catch me on MSN Messenger.
 
Old 10-11-2003, 01:42 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

So we can see how far you have got - can you post the output from:
ifconfig
route -n
 
Old 10-11-2003, 02:06 PM   #3
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Original Poster
Rep: Reputation: 15
I ran ifconfig route -n and ifconfig route. Here are the answers I got.

ifconfig route -n:
-n: Host name lookup failure

ifconfig route:
route: error finding interface information: device not found
 
Old 10-11-2003, 02:11 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
They are 2 different commands - hence why I had them on 2 different lines.

To get ethernet configuration run:
ifconfig

To display your routing table:
route -n
 
Old 10-11-2003, 02:50 PM   #5
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Original Poster
Rep: Reputation: 15
ahh, sorry. As you can tell I'm not that sharp on networking with linux yet.

ifconfig:
eth0 Link encap:Ethernet HWaddr 00:04:5A:76:28:5F
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:492 overruns:0 frame:0
TX packets:0 errors:4 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0xd000

eth0:9 Link encap:Ethernet HWaddr 00:04:5A:76:28:5F
inet addr:169.254.29.2 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:18 Base address:0xd000

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

route -n:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
 
Old 10-11-2003, 02:51 PM   #6
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Original Poster
Rep: Reputation: 15
let me repost the route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
 
Old 10-11-2003, 02:52 PM   #7
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Original Poster
Rep: Reputation: 15
when I post the route -n it kind of comes up funny, I guess I shouldn't have pasted it in!
 
Old 10-11-2003, 02:56 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It looks like you have set up aliases. Try removing your current configs:
rm -f /etc/sysconfig/network-scripts/ifcfg-eth*

Then setup the interface again using:
netconfig

After that restart the network services:
service network restart

If that still doesn't work post the ouptut of those commands again if they have changed.
 
Old 10-11-2003, 02:57 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by opafire
let me repost the route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
If you post in BB CODE blocks it comes out better:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 	eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 	lo
 
Old 10-11-2003, 03:32 PM   #10
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Original Poster
Rep: Reputation: 15
well I think I officially give up now, I did what you suggested and after restarting my network it still did not work. I really don't want to have to back to redhat because I like the way mandrake is set up better. but if I can't resolve this it looks like that's what I'll have to do
 
Old 10-12-2003, 07:28 AM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
When you ran the commands did you get any errors? Was the output the same?
 
Old 10-12-2003, 03:23 PM   #12
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Original Poster
Rep: Reputation: 15
there were no errors when I ran the commands, it all looked like it was going to work fine. But when I restarted my network it took forever to bring up eth0, and still there was no connection to the outside world.

late last night, I put the nameserver addresses and the search path in LinuxConf. but still no help.
 
  


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
Connection problems cta6882 Linux - Networking 3 11-23-2005 07:26 AM
connection problems iluzion Linux - Networking 1 11-18-2005 03:04 AM
connection problems aron Linux - Networking 3 01-02-2005 01:35 PM
connection problems jamaso Linux - General 4 12-15-2002 07:59 PM
connection problems ??? bigjohn Linux - Newbie 2 10-15-2002 03:37 PM

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

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