hello, friends.
i was wondering if anyone could help me, or point me to the forms/wiki/links that will help me, make my laptop a server.
…i dont know much about setting up networks at all. i searched through this site and others, but have not yet been successful in finding the information i need.
i have a laptop running 11.2, kde 4.4. this laptop is connected to a wireless router. now, i also have a desktop running winXP, without wireless, which i would like to connect to the network. where the desktop is located, i can’t connect to the router via ethernet, but i would be able to connect it to the laptop via ethernet.
so, is there a way to connect this XP desktop to my op.su. laptop so that it will have net access?
…if so, could someone please help me, or direct me to the appropriate information source?
so, is there a way to connect this XP desktop to my op.su. laptop so that it will have net access?
Yes, there is. You connect the two with a cable (maybe a switch in between, so you can hook up some more PC’s). Then you have 2 options:
(easy) You configure the ethernet adapter of the laptop to a fixed private network (not the same network as the wireless). Let’s say IP=192.168.111.1. Enable IP forwarding on the laptop with yast. Then configure the desktop as IP=192.168.111.2 (fixed IP as well) and set the laptop as the gateway and use some outside DNS server for the desktop. On the desktop make a hosts entry for the laptop (and vice versa). That’s all.
(a bit more work) Configure the laptop as a DHCP server.
Ping to IP number between laptop and desktop is the first thing to test.
So desktop and laptop connect to the same router? Desktop wired, laptop wireless. Then they’re already in the same network.
@Knurpht: it seems to me that we are reading (or understanding) OP’s question in a different way. What I understand is, he has a laptop with internet access (wireless) and a desktop with no wireless capability and which he can’t connect to the wireless router by cable (distance problem?). So he wants to connect the desktop by cable to the laptop to gain internet access.
thanks for your responses, everyone.
…let me try to be more clear.
my opensuse laptop is connected to the router via wireless.
my xp desktop has no wireless capability, and can not connect to the router via ethernet because of the distance.
i would like to connect the desktop to the network.
so, question 1, am i able to connect the desktop to the network, via ethernet, by using the laptop as a server?
and, question 2, could someone help me do this, or share the link which will teach me how to do this?
i will see about the responses already presented.
but, i also hope i’ve made things a little more clear, in case these responses are based on previous misunderstandings.
>
> thanks for your responses, everyone.
> …let me try to be more clear.
>
> my opensuse laptop is connected to the router via wireless.
> my xp desktop has no wireless capability, and can not connect to the
> router via ethernet because of the distance.
>
> i would like to connect the desktop to the network.
> so, question 1, am i able to connect the desktop to the network, via
> ethernet, by using the laptop as a server?
> and, question 2, could someone help me do this, or share the link which
> will teach me how to do this?
>
> i will see about the responses already presented.
> but, i also hope i’ve made things a little more clear, in case these
> responses are based on previous misunderstandings.
>
> …thanks, again, folks…
> sbkra
>
>
sbkra;
swerdna wrote:
> That’s what I thought you were saying, so follow the advice in my post
nice…i’d seen a lot of your help, but not that one and have one
question: by saying to work his laptop will have to have “a spare
ethernet network interface” aren’t you saying he must have two
different network cards/adapters…one connected to the internet (via
wireless in this case) and another for the XP workstation to plug into…
and, two interfaces is something not often found in off the shelf
laptops, but solvable by purchasing a . . .
–
DenverD
When it comes to chocolate, resistance is futile.
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
I’ve configured this before on a Windows box which should not be different than a Linux box…
First, if you really want to install a second network interface, that is usually possible on a laptop due to multiple I/O ports, PCMCIA, USB, etc.
You can configure a machine to act as an Internet gateway for other machines on the same network using a single network device, but it’s a bit tricky. It involves configuring multiple static networks (Note, must be different Network IDs, not just different network addresses). I don’t remember that the routing table needed special configuration if the static addresses are configured properly.
The downside of configuring a machine with a single network device as the private network’s Internet Gateway should be obvious… including
Network throughput will be degraded because of the excessive traffic going in and out of this single device/interface
Normally, private network clients are considered “protected” behind an Internet Gateway configured as a NAT device, but in this configuration the private network clients are physically exposed to the next external network. What this would mean is that any casual hacker looking only at logical addressing might not notice the exposure, but closer inspection and maybe even local network sniffing will reveal the clients’ exposure.
This same configuration can exist on the Internet for different purpose, eg public proxies that overcome private restrictive firewall rules.
This is also very similar to configurations I’ve setup when running virtualized networks, eg VirtualBox, Xen, VMware.
Laptops generally have two network interfaces, one wireless, one wired. Wireless interface is already connecting to the internet, wired interface is available for the Ethernet link, voila!
Be careful not to draw red herring across the path for OP. It should be simple, two interfaces exist (one is wired, one is wireless), two are required, different IPs on each. See the tutorial, standard ICS stuff.
swerdna wrote:
> Laptops generally have two network interfaces, one wireless, one wired.
> Wireless interface is already connecting to the internet, wired
> interface is available for the Ethernet link, voila!
of course! what was i thinking…
–
DenverD
When it comes to chocolate, resistance is futile.
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
ok, so, i started the process according to the link suggested by swerdna.
however, i have not really gotten past switching to ifup method.
after i switch to ifup, i can no longer connect to the internet. i even manually put in the pertinent network/IP information, and also tried using terminal, but i still cannot connect.
although i set up everything for the ethernet gateway, i wanted to make sure i can use the internet through the ifup method before i go any further.