Latest LQ Deal: Linux Power User Bundle
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 05-16-2007, 02:17 AM   #1
LQ Newbie
Registered: May 2007
Posts: 2

Rep: Reputation: 0
Post connect to internet with vista through a ubuntu machine

Hello all

I've recently acquired a second machine made of of spare parts from around campus. I finally decided that I'd set up a server with the machine however I couldn't decide what to run it with. I've settled on the gnome port of Ubuntu 6.10.

Both of my computers are pentium 4's, dual cores, etc.

the specs in my main computer shouldn't matter as it is the one connecting so all it needs to do is connect through the other computer. the ethernet port I'm using is the onboard one, Marvel Yukon
88E8053 PCI-E Gigabit Ethernet controller. This computer is running vista (yes I know). I need it because of the university course I'm doing requires us to have directx10 capabilities.

My second computer, I have know installed Ubuntu on. This machine is the one I'm trying to connect to or through in this case. I have scavenged bits from around campus. It's a pentium 4, former win xp machine. I've got a graphics card and a ethernet card in it from an old pentium 2 in it.

graphics card: I'm having to use as the one built into the mother board has died.
ethernet card: SMC 9432TX I only have it so I have 2 ethernet ports. 1 built into the mother board, the other on the card.
Mother board: Asus. can't really tell anything else

Vista --> Ubuntu --> port in wall which gives me internet
both are connected via cross over cables

I connect to the internet by my colleges internal internet, we're given a dynamic IP in which we connect through. we only have to sign in via a web page and we connect. shouldn't be any problem there.

I honestly haven't tried very much because I don't want to screw up anything.

my vista machine can connect to the internet. my linux one cannot connect to the internet.

if this does not work can you suggest a method in which I can connect the 2 computers together and to the socket. I can't afford any thing else currently.

what I've got (lan-wise):
2 comps with onboard ethernet ports
1 ethernet card
2 crossover cables
Old 05-16-2007, 03:20 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
First off, welcome to LQ.

Next, I think it's might strange to have to plug in via a crossover cable into a "wall" but that's just a personal oddity I haven't had to deal with in my travels.

Anyway, connectivity. You'll need to first learn how to walk, then you can run. Hook up the Ubuntu machine and get it working, then you can move onto modifying it's use to become a router.

The important thing to know is whether your onboard NIC is being detected. In Ubuntu you can do this several ways, but the easiest from a troubleshooting point of view is from the command line. Open up a terminal and type:
sudo /sbin/ifconfig

If you get some info about "eth0" and an IP (a set of numbers separated by dots as in then you are connected and the problem is elsewhere. If you don't have any IP or eth0 interface, then you will need to do basic troubleshooting for your particular NIC device.

From there it depends on what of those things "don't work" so I'll stop and let you give those a whirl and post back.

Good luck!

Old 05-16-2007, 11:46 PM   #3
LQ Newbie
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
it turns out I'm using a desktop version of Ubuntu. I'm going to have to wait a while before I attempt again. a friend is downloading the server edition for me. it's also 7.04 so maybe I'll have better luck.

Oh also some other factors I've found out:
I'm bounce through at least 2 routers before I actually connect to the isp.

The isp is a uniting church run facility. I get 1000meg downloads a month before they start charging me. I do however have infinite uploads

Get this I'm connected via a network directly to the isp. however I still get really *bleeped* speeds. usually around the 7kbs mark when downloading. however web-pages seem to come to me extremely fast.

edit: I went and did something a lot easier. I went and got a 8 port switch. I found a real cheap place in brisbane that sells pretty good quality goods. 8port switch = $43 Australian

problem solved. I'll attempt to get server edition working through that. If I need any more help I will simply put up a different topic. thanks also to master C

Last edited by kelsoge; 05-17-2007 at 01:44 AM.
Old 05-17-2007, 03:08 PM   #4
LQ Newbie
Registered: Jan 2007
Location: Russia - Novosibirsk
Distribution: Arch
Posts: 13

Rep: Reputation: 0
In advance I'd like to beg your pardon for my English. It's not my native language, so sometimes it's a bit hard to understand some moments. And in fact I'm not sure if I write correctly.

Well.. I've just wanted to create a similar topic, but now it seems to be i have no need.
As I said I've got a similar problem. I've got two PCs. One with Slackware 11(connected to the internet) and one with XP. I would like to organize a little "network" of two computers and to give the second machine an opportunity to connect to the internet thought the fist one.
The connection scheme is like that:
internet---Slackware PC---XP PC

This are the info my ISP gave me:
Subnet Mask:
Default Gateway:
DNS: and

This is my /etc/rc.d/rc.inet1
# Config information for eth1: //as U understand, it connected to the second machine

# Config information for eth2: //to the isp

My ifconfig:
eth1 Link encap:Ethernet HWaddr 00:14:2A:C4:72:2F
inet addr: Bcast: Mask:
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth2 Link encap:Ethernet HWaddr 00:11:95:25:71:1D
inet addr: Bcast: Mask:
RX packets:26438 errors:0 dropped:0 overruns:0 frame:0
TX packets:9394 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:10133820 (9.6 MiB) TX bytes:1933381 (1.8 MiB)

lo Link encap:Local Loopback
inet addr: Mask:
RX packets:164 errors:0 dropped:0 overruns:0 frame:0
TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:60518 (59.0 KiB) TX bytes:60518 (59.0 KiB)

My route -n: //seemes to be wrong?
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth1 U 0 0 0 eth2 U 0 0 0 lo UG 1 0 0 eth2

Else i've configured BIND, but it doesn't work. Unfortunately, as my experience in linux is rather poor yet, I can't exactly understand how to solve this problem. //compile and install the "capability" module? Am I right?

Here is rc.bind restart command:
Stopping BIND: /usr/sbin/rndc stop
Starting BIND: /usr/sbin/named
WARNING: named did not start. Perhaps this is because
the "capability" module required by newer kernels is
not loaded (or built into the kernel)?
Attempting to load security capability module:
/sbin/modprobe capability
Attempting to start named again: /usr/sbin/named
FAILED: Sorry, but even after attempting to load
the "capability" module, named did not start.
There may be a different configuration error that
needs fixing. Good luck!

And else i've minimally configured iptables:
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -o eth2 -j SNAT --to

and turned on routing:
echo 1 > /proc/sys/net/ipv4/ip_forward

On the computer with XP I set these settings:

I would like to test my suggested settings if they'll work but i can't cause i even can't ping my second PC.. :8`(

I'm new to linux, so sometimes i need help. First I try to do everything by myself - the best way to learn, i think, but already for a week I can't solve this puzzle. I haven't much time to read many linux books or articles in the net, so I would be incredibly glad if you help me!

Best wishes, Sam!

p.s. And one more question. How can I start the LISA daemon for KDE? I didn't find it anywhere. And even KDE Help Center didn't help me. :8$

Last edited by PocketSam; 05-17-2007 at 03:10 PM.


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
How to connect to the internet with ubuntu linux? bugpolo Linux - Newbie 2 06-08-2008 07:17 AM
Live CD Linux Box to connect to Internet via XP machine ? uncle-c Linux - Newbie 5 03-02-2007 09:31 AM
connect to internet in ubuntu nancy25dec Ubuntu 13 05-01-2005 04:24 AM
How to Connect to Remote Red Hat 9 Machine Via Internet? shelldinesh Linux - General 3 10-06-2004 12:13 PM
Connect to the internet through a winXP machine TheRepublican Slackware 8 04-08-2004 03:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:07 PM.

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