LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   No network detected (https://www.linuxquestions.org/questions/linux-networking-3/no-network-detected-111488/)

sokar 11-02-2003 10:58 AM

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

Guru3 11-02-2003 11:46 AM

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.

sokar 11-02-2003 03:51 PM

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

exodist 11-02-2003 04:13 PM

try: dhcpcd -t 10 -d eth0

Guru3 11-02-2003 11:30 PM

Your other pc is set up as a router and a dhcp server, right?

nightjar 11-03-2003 01:26 AM

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)

sokar 11-03-2003 04:02 PM

My connection
 
Internet <-> ADSL USB modem <-> PC with ethernet <-> ethernet LAN <-> laptop with ethernet

nightjar 11-03-2003 06:18 PM

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

:Pengy: :) :study: :cool:

nightjar 11-03-2003 10:59 PM

Re: Re: My connection
 

Note: PC 2 is connect to the hub

Guru3 11-03-2003 11:17 PM

Before you had issues and had to recompile, did this work at all?

sokar 11-04-2003 03:30 PM

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)

nightjar 11-04-2003 03:39 PM

window drive can set manually in etc/fstab

are u using dhcp in the network?

Guru3 11-04-2003 11:16 PM

You made a backup of your old kernel, yes? Boot up with that and make sure it still works with the old one...

sokar 11-05-2003 08:37 AM

old kernel
 
Yes, i still have the original kernel and everything works fine with that one. Except PCMCIA of course :(

Guru3 11-05-2003 11:55 AM

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?


All times are GMT -5. The time now is 04:10 AM.