LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2004, 07:13 AM   #1
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Rep: Reputation: 15
Network issues


I am running Win XP on drive 1 and Fedora Core 1 on drive 2. The installation went great, I am up and running both OS's at this time. I tried to set up my network in FC1 but get an error saying check my cable. It appears that the card is recognized by the OS and is reported as OK in the network config, but it remains inactive. I decided to go to Win XP and check my network at it is up and running fine. I am using a D-Link 707P route my cable modem connection. I need tips on what else to check in linux to get this working. I tried to check my network card against the HCL at RedHat but did not get much information. Any and all help is greatly appreciated.
 
Old 05-26-2004, 07:50 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,487

Rep: Reputation: 88
Have your tried pinging another machine on the network to see if it actually *is* inactive?

Just go

ping <ip.address>

and see if the foreign machine replies. If it does, your card is working fine and something else higher up the OSI layers might be wrong?
 
Old 05-26-2004, 08:00 AM   #3
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
No, I have only tried to connect to the internet but through a little research I just found the linux command for Window's ipconfig. So I will try to the ifconfig and then ping. Thanks for the reply.
 
Old 05-26-2004, 11:10 PM   #4
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I went into XP and got the settings for the network adapter and applied them to the settings in FC1. Now I am able to make the adapter go active and I am able to ping the router and the other computer on the network. Unfortunately, I am not able to get to the internet yet. Does anyone know how to overcome this problem? Are there any other settings I need to apply? At this point I am a lost, so any help is grateful.
 
Old 05-27-2004, 06:43 AM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Why don't you post your ifconfig output? Have you tried using the "netconfig" command (I know it works on slackware, unsure of other distros)
 
Old 05-27-2004, 08:05 AM   #6
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I tried to run the ifconfig command, but I got the unrecognized command error. I can man ifconfig and read the contents, but when I type ifconfig nothing happens. I type
ifconfig <enter>, I thought that was the correct syntax. If it is not the correct syntax can you tell what the correct syntax would be. Then I will post the results. Thanks for your help
 
Old 05-27-2004, 08:14 AM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Did you set the gateway to the router, and set the DNS servers in /etc/resolv.conf
Code:
route add default gw <router ip>
for ifconfig use /sbin/ifconfig or "su -" when you su.
 
Old 05-27-2004, 11:25 AM   #8
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
No. Thanks for the information, I will do that when I get home. I have only been using linux for a grand total of 2 days, so all of this is new to me. I am looking at making the jump from XP to linux on a permanent basis. All the help received is greatly appreciated.
 
Old 05-27-2004, 11:31 AM   #9
dfctve_end_user
Member
 
Registered: Dec 2002
Location: Kalamazoo, MI - US
Distribution: Ubuntu 8.04 Hardy Heron LTS x86_64
Posts: 144

Rep: Reputation: 15
what IP subnet are you using? It it's 169.254.x.x dump that subnet and use 192.168.x.x. I assume you are either using static IP's or dhcp from a router of some sort. If you want ifconfig to run and it's not in your path type:

whereis ifconfig

then just run:

/usr/sbin/ifconfig

Also two machines can't have the same ip on the same network. If you need any other help feel free to email me.
 
Old 05-28-2004, 07:44 AM   #10
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I am using 192.168.x.x for my subnet. I tried the add the "route add default gw 192.168.x.x" to my resolv.conf with no joy. When I try to use dhcp I get a "no link" error and the machine is telling me to check the cable upon attempting to activate the adapter. So I then gave it a static 192 address and I am able to make the adapter go active, but I still cannot connect to the internet. Unfortunately, I cannot post the results of my ifconfig because I have to log in to XP to get an internet connection.
 
Old 05-28-2004, 07:52 AM   #11
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

I am using 192.168.x.x for my subnet. I tried the add the "route add default gw 192.168.x.x" to my resolv.conf with no joy.

You actually had to execute it on the command line, and you need to find out your DNS servers and put them in /etc/resolve.conf which looks something like this:
Code:
nameserver 192.x.x.x.x
nameserver 10.x.x.x

Last edited by Demonbane; 05-28-2004 at 05:51 PM.
 
Old 05-28-2004, 01:18 PM   #12
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for the clarification, no wonder it did not work. I will try it again, as I said all of the this is new to me so your patience is greatly appreciated. Also do I leave the "search localdomain" line in the resolv.conf.

Last edited by kingkrill; 05-28-2004 at 01:23 PM.
 
Old 05-28-2004, 05:48 PM   #13
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Talking

Thanks for everyone's help. I am proud to say I am sending this post from my FC1 harddrive. I have to check to make sure my email is working then it is on to get my printer up and running on FC1. Wish me luck.

Last edited by kingkrill; 05-28-2004 at 05:52 PM.
 
Old 05-28-2004, 07:57 PM   #14
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
what did you do to fix it?
 
Old 05-29-2004, 09:57 AM   #15
kingkrill
LQ Newbie
 
Registered: May 2004
Posts: 26

Original Poster
Rep: Reputation: 15
I did a combination of post 11 and post 7. I performed post 7 first at the command line and edited the resolv.conf as per post 11. I did all of this as the root user.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
network issues jjorloff1 Mandriva 3 12-18-2004 08:57 PM
Network Issues djljjm Linux - Networking 16 12-06-2004 03:49 PM
ip/network issues - newbie help z_pcjr Linux - Networking 0 10-01-2004 07:38 AM
Network issues jfranks214 Linux - Laptop and Netbook 0 02-12-2004 02:06 PM
Network issues...No DHCP Brother Michael Slackware 19 01-16-2004 02:04 AM


All times are GMT -5. The time now is 07:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration