Re: how to connect desktop and netbook through router?
Samba usually only requires you to install the samba package and edit two lines in a single config file. How can that possibly take you a week?
Your /etc/network/interfaces file looks like the normal default for Kubuntu as far as I can tell. I'm pretty sure that the reason the lines you are looking for are not there is because KNetworkManager (or whatever its called in KDE4) doesn't use that file to configure interfaces by default. However, if you add information to the file it should be honored the next time you reboot the system. Someone please confirm or correct this!
The information from that site assumes your default network device is named eth0. Is it? You should be able to find out by looking into KNetworkManager or from the command line with ifconfig. For example:
Post your output from ifconfig and we'll go from there.
Edit:
I meant to have you run ifconfig on both computers, just forgot to say so explicitly.
Originally posted by tomcloyd
Your /etc/network/interfaces file looks like the normal default for Kubuntu as far as I can tell. I'm pretty sure that the reason the lines you are looking for are not there is because KNetworkManager (or whatever its called in KDE4) doesn't use that file to configure interfaces by default. However, if you add information to the file it should be honored the next time you reboot the system. Someone please confirm or correct this!
Assuming we get past that problem, look at #5. I'm supposed to insert these lines:
Code:
iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1
Code:
$ ifconfig eth0 Link encap:Ethernet HWaddr 00:16:76:52:1b:fb inet addr:192.168.11.2 Bcast:192.168.11.255 Mask:255.255.255.0 inet6 addr: fe80::216:76ff:fe52:1bfb/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:457462226 errors:0 dropped:0 overruns:0 frame:0 TX packets:495450700 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1672332981 (1.5 GB) TX bytes:2408523110 (2.2 GB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:34380 errors:0 dropped:0 overruns:0 frame:0 TX packets:34380 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3037586 (2.8 MB) TX bytes:3037586 (2.8 MB)
Edit:
I meant to have you run ifconfig on both computers, just forgot to say so explicitly.
Comment