Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-31-2007, 10:33 AM   #1
LQ Newbie
Registered: Mar 2007
Distribution: Kubuntu Edgy
Posts: 6

Rep: Reputation: 0
Question Getting (linux) Internet via another computer (Xp)

Hi there, My school (UTD) offers wireless internet for free, but It is a beast to connect to, and I really can only access it with my XP based laptop (not to mention my linux box has no wireless card, nor do I want to mess with 8021x authentication or ndiswrapper at this moment).

I have a crossover cable, I connect it from my xp computer told to share internet connection, thus making my laptops ip =;

Then on kubuntu I manually set it up to use the same subnetmask ( and the ip adress of (

No internet, I know im missing alot. Or if this is even possible.
Old 03-31-2007, 11:56 AM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
OK, you almost got it, and it is definitely possible; this is what I use at home...
The windows machine must be set for connection sharing/home networking, as you seem to have.
The Linux machine IP should be, the Linux default gateway is, and the broadcast address is often I think you have the subnet mask correct, but may end up trying as well.
You may need to put some info into a few other files on the linux machine, like etc/nsswitch.conf (contains the primary and backup nameserver IP's of the ISP or perhaps the university in this case), and you *may* need to see that your etc/host and /etc/hostname files are correct.
Now, provided you have the ethernet card in the linux machine running, and with the correct module/driver loaded, you should see signs of life
As a last resort, and if you haven't already, run the XP connection/networking wizard to set up home networking with the two computers connected and both turned on and ready to go..
Old 03-31-2007, 04:30 PM   #3
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 176

Rep: Reputation: 50
I run my net connection like this, and it works, but I didn't need to specify a gateway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Core 5 Computer Providing A Windows Xp Computer With Internet FedoraNewbie Linux - Networking 6 10-29-2006 12:24 AM
Linux Computer Lounge Internet Cafe tekhawkgaming Linux - Software 7 05-13-2006 01:07 PM
I Need Some Help Setting Up Internet On My Computer That Has Linux On It... smileikill Linux - Networking 4 04-20-2006 08:26 PM
Internet is slower on my win computer than on my linux computer eXor Linux - Networking 1 12-03-2004 09:58 AM
Internet on 2nd computer thru 1st computer jmsuthar General 4 09-12-2004 12:03 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration