Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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)
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
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)
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.