LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-01-2005, 06:49 PM   #16
filfish
LQ Newbie
 
Registered: Oct 2005
Location: newquay - wales - uk
Distribution: RH9
Posts: 29

Rep: Reputation: 15

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

service network start

then

service dhcpd start

you should now have a running dhcp server
 
Old 11-02-2005, 01:21 AM   #17
Liefmans
LQ Newbie
 
Registered: Oct 2005
Location: Germany & Belgium
Distribution: debian
Posts: 24

Original Poster
Rep: Reputation: 15
No sorry, doesn't work.

I think we must start from scratch and make sure that the ethernet cards are installed. How can I do that?
 
Old 11-02-2005, 06:21 AM   #18
dd12
LQ Newbie
 
Registered: Sep 2005
Posts: 28

Rep: Reputation: 15
more info please

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.
 
Old 11-02-2005, 11:06 AM   #19
Liefmans
LQ Newbie
 
Registered: Oct 2005
Location: Germany & Belgium
Distribution: debian
Posts: 24

Original Poster
Rep: Reputation: 15
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...

Code:
root@einstein:/# ifconfig -a
eth0      Protokoll:Ethernet  Hardware Adresse 00:50:BF:E3:4C:9B
          inet Adresse:192.168.0.99  Bcast:192.168.0.255  Maske:255.255.255.0
          inet6 Adresse: fe80::250:bfff:fee3:4c9b/64 G�ltigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1813 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1944 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenl�nge:1000
          RX bytes:965821 (943.1 KiB)  TX bytes:327539 (319.8 KiB)
          Interrupt:17 Basisadresse:0xc000

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 G�ltigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:309 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenl�nge:0
          RX bytes:23493 (22.9 KiB)  TX bytes:23493 (22.9 KiB)

sit0      Protokoll:IPv6-nach-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenl�nge:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Code:
root@einstein:/# netstat -rn
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags   MSS Fenster irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 eth0

Last edited by Liefmans; 11-02-2005 at 11:08 AM.
 
Old 11-02-2005, 02:59 PM   #20
dd12
LQ Newbie
 
Registered: Sep 2005
Posts: 28

Rep: Reputation: 15
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.
 
Old 11-02-2005, 04:12 PM   #21
Liefmans
LQ Newbie
 
Registered: Oct 2005
Location: Germany & Belgium
Distribution: debian
Posts: 24

Original Poster
Rep: Reputation: 15
Nope, no ping but I will try with the card with which I'm connected now to the internet.

Hopefully, you'll see me back
 
Old 11-02-2005, 04:26 PM   #22
Liefmans
LQ Newbie
 
Registered: Oct 2005
Location: Germany & Belgium
Distribution: debian
Posts: 24

Original Poster
Rep: Reputation: 15
Yep, this worked!

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!
 
  


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
Setting Up Ethernet Card Drakkath Slackware 6 05-17-2005 06:44 PM
Need help setting up a home network. joe83 Linux - Networking 7 08-09-2004 02:58 PM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
Help with setting up home network plehman Linux - Networking 1 02-14-2004 12:15 PM
Setting up a home network gi13s Linux - Networking 1 08-06-2001 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:57 AM.

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