Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
go to system tools from the applications menu, select internet configuration wizard, on the left (device type) select ethernet connection click nextt, select one of the ethernet cards in the list box on the following screen click next, enter the ipaddress you want to use for example 192.168.0.254 for the netmask enter 255.255.255.0 and leave the gateway empty click next, then click apply.
ok, now open 'system settings > network', there should be an ethernet card on the fist screen, click on it then click on activate, that will set up your ethernet card, then as mentioned earlier from the terminal window type
1. Do you have a hub or switch that both computers are plugged into?
2. How are the 2 computers wired together?
3. You didn't post the netstat -rn from the master computer. please do so
4. You need to post 'ifconfig -a' and 'netstat -rn' from slave as well.
No hub or switch, just a simple crossed cable between the two computer. I'm now on the client computer and on the server computer I have WinWP running. This proves that with the client, there is no problem.
Please find below the results of ifconfig and netstat on the client computer. netstat on the server I posted earlier.
Unfortunately, the reply that I get is in German This is another problem I have to solve. My computer is going German and my German skills are less than my linux skills...
Okay eth0 on the client is: 192.168.0.99 gateway 192.168.0.1.
Do you know how to setup linux as a router? You will need to do so on the master computer to allow the client to route thru it.
If you don't know how to, I would suggest buying a switch that would provide DHCP and would allow each computer to work independantly. I have it setup this way.
If all you want to do is have the client pull files from the master you can do this:
Master computer:
ifconfig eth0 192.168.0.1 up
Plug the crossover cable between the master and slave into the eth0 interface. The fact that you can do 'ifconfig -a' and see the cards proves the cards are being seen from the OS.
Now on the client you are already setup for 192.168.0.99. On the master 'ping 192.168.0.99' the IP of the client and on the client you will ping the master 'ping 192.168.0.1'
Doing the pings by name would require you adding some lines to your /etc/hosts file.
That should do it. Like I said, doing routing on the master computer to allow the client to connect out to the internet over the PPP link isn't what this will provide.
When I borrowed my eth1 (card with working internet connection) for this test, it worked! So now I'm sure that knoppix did not install my 2nd ethernet card.
FYI: My card is a NVIDIA NFORCE2.
I think I have now to dive into the making of a kernel or adding a module... sigh
Thanks for your help guys. You'll probably see me back when I'm installing my ethernetcard. If anyone can give me tips, they are welcome!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.