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 11-02-2003, 10:58 AM   #1
sokar
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
No network detected


I've recompiled my kernel (i had some issues with PCMCIA) but now when i boot linux the "bringing up interface eth0" phase fails, and no network is detected. I think i selected all the necessary options in the "make xconfig" phase of the compilation


TIA
 
Old 11-02-2003, 11:46 AM   #2
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Try in the command line "ifconfig eth0 192.168.1.123" and see if that works. If it doesn't then yes, you did mess something up in your compile.
 
Old 11-02-2003, 03:51 PM   #3
sokar
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
It worked, sort of(?)

i did "ifconfig eth0 192.168.0.11" and i was able to get that IP, and also was able to ping my other pc, the one that is connected directly to the internet. But i don't have access to the internet
 
Old 11-02-2003, 04:13 PM   #4
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
try: dhcpcd -t 10 -d eth0
 
Old 11-02-2003, 11:30 PM   #5
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Your other pc is set up as a router and a dhcp server, right?
 
Old 11-03-2003, 01:26 AM   #6
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
How are the PC connected one to another and with Internet?
Can you make a little schema with arrows?
What kind of internet connection have you?(dial-up, adsl, cable,etc)
 
Old 11-03-2003, 04:02 PM   #7
sokar
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
My connection

Internet <-> ADSL USB modem <-> PC with ethernet <-> ethernet LAN <-> laptop with ethernet
 
Old 11-03-2003, 06:18 PM   #8
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
Re: My connection

Quote:
Originally posted by sokar
Internet <-> ADSL USB modem <-> PC with ethernet <-> ethernet LAN <-> laptop with ethernet
You don't have any hub?
If you obtain one, it's so easy

You must set in the PC the gateway i.e: 192.168.x.x (and the subnet 255.255.255.0)
You must set the route. It may be the same
Inside usr/sbin you can find the file adsl.setup
In one moment you must enter 2 DNS numbers (your Internet provider will give you its)
The program ask you about the eth? and some thing that in this moment I not remember

Tehe connection can be

Internet <-----------> HUb <------->PC1
^
|
------------> PC 2

The gateway of PC2 (or laptop or Mac or linux ) must be (obviously) the same of the above
You must set set etc/host, etc/resolv.conf and etc/sysconfig/network

If you don't have a hub you must have 2 eth?: one to connect to the Net and other with the other machine
The procedures is the same with adsl
If you have any more questions contact me via email


Last edited by nightjar; 11-03-2003 at 06:20 PM.
 
Old 11-03-2003, 10:59 PM   #9
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
Re: Re: My connection


Note: PC 2 is connect to the hub

Last edited by nightjar; 11-03-2003 at 11:00 PM.
 
Old 11-03-2003, 11:17 PM   #10
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Before you had issues and had to recompile, did this work at all?
 
Old 11-04-2003, 03:30 PM   #11
sokar
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Yes it worked

Yes, it worked perfectly. PCMCIA didn't. Now pcmcia works (or at least it doesn't freezes the system when i try to start the service) but the network doesn't. Windows' drives aren't auto-mounted on startup either (but i can mount them manually)
 
Old 11-04-2003, 03:39 PM   #12
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
window drive can set manually in etc/fstab

are u using dhcp in the network?
 
Old 11-04-2003, 11:16 PM   #13
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
You made a backup of your old kernel, yes? Boot up with that and make sure it still works with the old one...
 
Old 11-05-2003, 08:37 AM   #14
sokar
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
old kernel

Yes, i still have the original kernel and everything works fine with that one. Except PCMCIA of course
 
Old 11-05-2003, 11:55 AM   #15
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
OK, now what did you change? Cause you musta done something... I think that's the most likley cause... See what you put in the kernel... Maybe something as a module versus built-in is messing things up. I'm not a kernel expert, but as drivers are part of the kernel, who knows?
 
  


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
Network detected but I can't use it. CypherBeginner Linux - Networking 3 08-19-2005 02:40 PM
network card not detected Scrambler Linux - Hardware 6 08-19-2004 03:52 PM
How to get network card detected? irfanhab Linux - Networking 1 08-10-2004 06:45 AM
network card not detected pulster2605 Linux - Hardware 3 08-07-2003 05:10 AM
Network card not detected rwelch Linux - Networking 2 03-05-2003 06:44 AM

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

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