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.
Hi,
I've gotten my basic network up. This is just a test network and consists of a w2k computer and a Slack 9 computer. Both the computers can ping each other without problems.
I've set up DHCP on w2k and Slack gets it's ip from there. I think I've tried everything I can think of, but just can't get internet over to the linux box.
Not quite sure what info you need, but don't hesitate to request it!
I shared the internet-connection in w2k, this resuleted in the ip cahnging to 192.168.0.1 . Then, I sat up a DHCP scope starting at 192.168.0.2 ending at 192.168.0.10 and made sure the dhcp server was running.
In slack, I ran netconfig to set up the basic networking, chose DHCP for everything and let it probe for a card. It found my card and used the correct driver.
in /etc/rc.d/ , I first ran rc.inet1 and then rc.inet2, which I had edited some.
After running inet1, my MAC and new ip (192.168.0.2) were echoed back to me.
NOTE: I had already the basic networking up, when I asked the original question!
I used killall smbd nmbd, to kill samba, and started it with
$smbd -D
$nmbd -D .
BUT, I couldn't get the internet over.
So, I started exploring the sharing tab in my external connection. There was a button, either Advanced or settings (I can't quite remember), but I clicked it.
On a tab there was a list of "services".
I understood these was how I could open ports to the other computers. I added a new one, named it HTTP port 80 and the address 192.168.0.2 .
Disconnected the extrnal connection, and dialed in again.
Now, internet worked great in linux!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.