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.
Okay I'm pretty new too linux, and know nothing about networking. I need to network my friends laptop running knoppix to the school network. How do I do this. I know we have the connection because I can do ifconfig and ping the first ip address(which is under ethernet). Any help?? The school computers run Windows XP and the school server is microsoft too. He can acsses his drive from his windows install on his laptop. If this works he will probably do a dual boot.
\\thsdata1\Linux.Rules$\ is the location of the drive. Linux.Rules being a persons name.
What is the subnet (range of IP addresses) that the school uses? Does the school have a DCHP server? If so, edit /etc/network/interfaces on the laptop and put something like this in it:
hmm using ifconfig on the school network on a windows box i got these numbers. Sadly I forgot to write down what they are they are:
130.151.122.133
255.255.255.0
130.57.122.7
How would I get the subnet from that?? I dont think there would be one with that config, Since its class C. Couldn't i also do something with route?? hmm Thanks for the help so far. Also how would I get the subnet otherwise??? And how did you know that network ended with 1 and gatewa with 1 and broadcast with 255(whatever broadcast is)
In most networks, the gateway is (almost) always x.x.x.1 (usually it's the IP of the router or something linked to the next network, like the Internet for example. Broadcast packets always go on the upper limit of the subnet (usually 255). From the numbers you have above, it looks like you listed the IP address you had, the subnet mask, and the gateway. So with Knoppix (a Debian-like distro) your /etc/network/interfaces would look like (I think):
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.