LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2004, 03:44 PM   #1
arkamir
Member
 
Registered: Nov 2003
Location: Califroni
Distribution: Fedora
Posts: 51

Rep: Reputation: 15
Laptop with knoppix to school network?


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.

Thanks a lot,
Conrad
 
Old 01-06-2004, 03:52 PM   #2
computergeek84
Member
 
Registered: Nov 2003
Location: /dev/null
Distribution: Gentoo, Ubuntu
Posts: 61

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

iface eth0 inet dhcp
network x.x.x.1
netmask 255.255.255.0
gateway x.x.x.1
broadcast x.x.x.255

Replace the x's with the IP address of the subnet.
 
Old 01-07-2004, 05:50 PM   #3
arkamir
Member
 
Registered: Nov 2003
Location: Califroni
Distribution: Fedora
Posts: 51

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

Thanks again
 
Old 01-07-2004, 06:53 PM   #4
computergeek84
Member
 
Registered: Nov 2003
Location: /dev/null
Distribution: Gentoo, Ubuntu
Posts: 61

Rep: Reputation: 15
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):

iface eth0 inet dhcp
network 130.151.122.1
netmask 255.255.255.0
gateway 130.57.122.7
broadcast 130.151.122.255

It looks like the gateway is on a different subnet, but try that and see if it works...
 
Old 01-08-2004, 02:34 PM   #5
arkamir
Member
 
Registered: Nov 2003
Location: Califroni
Distribution: Fedora
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks ill try the solution out

ill post agian after itry it out
 
  


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
Help on Network Design in School kbrian38 Linux - Networking 7 03-04-2011 01:47 PM
Old school laptop with wireless, which distro? chri5 Linux - Newbie 5 12-01-2005 05:23 PM
Wireless internet doesn't work on laptop at school (Ubuntu 5.04) dbzsongoku Linux - Newbie 1 06-24-2005 01:47 PM
Cant connect to my school gateway on a intel laptop using Debian Lengths Linux - Networking 8 05-09-2005 09:20 AM
Knoppix Live For School IMacs sloik2000 Linux - Hardware 0 01-04-2005 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:16 PM.

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