General :: Sharing Internet Connection/server-clients?
Feb 28, 2010
I've been able to make my server connect to my clients but not able to share the internet connection. I've been searching around but haven't come across an answer yet. Hoping someone here will point me in the right directiong. I have the following setup running. I'm trying to make an internet connection go through my server but haven't been able to get it to work.
How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.
I am totally new to Linux. I was not able to connect to internet using the default network manager in Ubuntu, so I set up the internet connection using "sudo pppoeconf" and it works great. I want to share this internet connection with another PC which runs Windows XP. Please, can anybody give me step by step instructions about how to do that? (instructions for configuring both Ubuntu and windows machine, A GUI will be very helpful) Both my Ubuntu machine and windows PC have static IP. And I dont want anyone to use this internet connection except the windows PC.
I have a linux box (fedora) with two ethernet cards eth1 and eth2. On eth1 I successfully configured a PPPOE internet connection. Such that from the server I can browse the internet. On eth2 I wired it to a wireless router essentially to provide the wireless cloud. On eth2 I also configured dhcp, such that the Linux box is both PPPOE and DHCP server.However my clients on the LAN cannot access the Internet.
On passing the routing command I get Destination Gateway Iface 196.44.x.y 0.0.0.0 ppp0 192.168.1.0 0.0.0.0 eth2 (my subnet) 0.0.0.0 0.0.0.0 ppp0.
The router (functioning as a wireless access point mainly) has a fixed IP address of 192.168.1.2 and eth2 has IP address 192.168.1.1. The dhcp file running on Linux has been set with option router (Gateway) 192.168.1.1. I cannot figure out how to correctly set the routing table such that my clients on wireless can access the internet cloud. I googled and googled but no solid solution. Any suggestions?
I'm a frequent user of the shared connection feature of SSH. Usually i have two or three connections open at the same time through the connection sharing feature, but sometimes when i try to start another i get the message "Shared connection to <server< closed". All the connection that are established through the connection sharing feature are still active and not closed, but when i try to create a new one i get that message.. i've even got that message when i have only had two connections through the shared connection feature.
I've tried to search google but it doesnt seem like anyone else has had the same kind of problem, does someone know why i sometimes get this error ?
I am using Ubuntu 9.10 and trying to use Internet Connection Sharing through my Dell Mini 9 laptop.
The incoming internet is from wireless The outgoing internet is from Ethernet I am using a crossover cable as I have heard this is necessary I followed the 9.10 method on my Auto Eth 0 connection Here is a link to the Ubuntu Documentation I used The computer I am trying to share to does not pick up the internet being shared from the cable.
I have a mobile broadband usb modem that I get my internet connection from, and I would like to share this connection through a router that is connected to the same computer via ethernet. I'm running Ubuntu 9.10.
I want to use the wifi card in my laptop to share my internet connection to my Android Phone.Android phones don't support Ad-hoc networks yet (maybe not ever) so I need to the shared network in Infrastructure mode not ad-hoc mode.Using Ubuntu 10.04, If I click on the NetworkManager Applet ( 0.8 ) and select Create new wireless network, it will create an ad-hoc network, I then tried changing this to infrastructure, but it didn't work.Is there some way of modifying this created network to make it appear as infrastructure, or alternatively create a shared internet connection in infrastructure mode?
What can you recommend software to link sharing, and priority services such as VoIP, email, web, ftp others. The only thing I got it [URL], but it is not developed since 2008 ri do not know if it works.
I hope this diagram shows my intentions, how i may have an internet connection via phone or wlan1 share it with eth0 and wlan0
Anyway as i said, i have done _some_ of this, this is where i get stuck i did this (while as SU)
I then configured dnsmasq using the settings on that page
I then plugged my laptop into the switch and tried to connect- IT WORKED I then plugged my computer into the switch - IT DIDN'T xbox 360 didn't work.
But the laptop still did
I used firestarter along side this setup to see connections, nothing was blocked (bar dns which i unblocked) and my laptop still worked after
The xbox wasn't able to get an IP adress, the laptop did (192.168.254.246) nor was the computer
I can give more data on request, but.... after i restarted nothing worked, i did the settings again, nothing worked, eth0 was never ready, and you can't connect it to the switch. i'm new to networking; i'd call myself an adept novice regarding linux itself, and all computers can be assumed to be using ubuntu 10.10
I have discussed sharing an internet connection with my neighbor so we can both save money. We both have multiple computers connected to consumer grade routers. I've tinkered with WDS configurations but it was very unreliable and cumbersome to manage for reasons I won't get in to here. I'm thinking of getting my ubuntu server box to connect to my neighbor's wifi (via a USB wifi adapter) and share the connection through my router to my own subnet, (wired and wireless).
Can anyone shed some light on how I can best accomplish this?I can see a number of hurdles with this, maybe there are some I have yet to discover:Getting the USB wireless adapter to connect and stay that way via commandline.Configuring ICS from the USB connection to ethernet out to my router.Probably moving DHCP duty from my router to my server.Getting it all to work reliably well.
I have two laptops connected to each other with a crossover cable. One laptop runs vista and has internet connection sharing enabled and the other laptop has a new installation of ubuntu server 10.10.
The LAN network device is configured as 192.168.0.1 and is on subnet 255.255.255.0. The ubuntu network device is configured as 192.168.0.1, is on subnet 255.255.255.0, and uses gateway 192.168.0.2. Those are the values that I entered in /etc/network/interfaces.
The laptops are able to ping each other but I am not able to connect to the internet on the ubuntu machine. Am I missing something here? I did
Code: sudo /etc/init.d/networking restart
and also rebooted the ubuntu machine but no luck. I am unable to update apt-get.
A friend of mine is trying to setup internet connection sharing in Ubuntu, which is something I've never dealt with before. Here's the situation:One desktop PC is dual-booting Ubuntu and Vista. This box is connected wirelessly to the router and can access the internet just fine. The desired setup is to have an xbox360 connected (wired) to the desktop PC, allowing it to share the internet connection.
1) A crossover cable would need to be used between the desktop PC and the xbox. 2) The xbox would still have the router's internal IP as the default gateway (I have zero experience configuring networking on an xbox... I hope these options are easily available). 3) The internal IPs can all be on the same network (i.e. router = 192.168.1.1 ; desktop = 192.168.1.100 ; xbox = 192.168.1.101) 4) IP forwarding would need to be enabled on the Ubuntu host
Is there anything I'm overlooking or just oversimplifying, or should that just about do it?
I have an ubuntu 7.10 ICS server that works fine and I have routed my traffic using firestarter to my windows PC. my server's IP is 192.168.0.1 and my windows client is 192.168.0.2. now, I have bought another PC and I want to assign 192.168.0.3 to it and connect it to ubuntu server. in windows, all I needed to do was to connect the first client to first network card, second one to second network card, bridge two connections in my server, assign 192.168.0.1 to the network bridge in my server and 192.168.0.2 and 192.168.0.3 to my clients, then share my internet connection. I also could access shared files in any computer from all of them. can I have the same functionality with a linux server?
I'll make a list to make it easy if you don't wanna read the whole post:
things I want:
1. assign one ip address to multiple interfaces in linux, making them bonded.
2. sharing the internet connection with both clients.
3. ability to use all shared files over a network.
I have several Proxy severs set up at our business. I always do the same basic config, except for my version of Fedora (I always grab the newest).
I put 2 nics in a machine Load Squid, Dansguardian and Firestarter. I use Firestarter to direct the surfing traffic from my LAN out a cable modem that I have for each store. This lessons the bandwidth on the T1.
Easy enough. My problem is Firestarter has always been a little flaky. But as of F11 the gui wont stay up for more than a few minutes at a time. It still functions, but you have to be quick if your going to use it because it will inevitable crash.
So I suppose it's time to start doing this the correct way and using IP Tables. Does anybody have a resource they can point me to that will help me understand how to do this? It looks like this might be as simple as setting it up with the GUI Firewall tool that comes with F12 but I'm still not exactly sure how.
This configuration works perfectly on my router at my house which has the IP of 192.168.0.1
However at my friends house he has a router with the IP adress of 192.168.2.10 or 192.168.2.7*, I don't remember exactly but I'll find out tonight. I have tried changing my IP settings on my xbox and eth0 to no avail. I noticed instantly that the XBOX IP is the same as my friends router. what the new settings would be, or simply changing the router's IP.
However there is also an issue with the DNS servers. I can't find them anywhere on the router or on the router box itself. I heard that I could point it towards my default gateway however.
i have an evdo connection with which i connect to the internet. i have been trying to share this connection for quite a few days from my lucid machine to a windows 7 pc but have failed. i have tried dhcp3-server, firestarter, network manager's built in capabilities but have failed! today i manually configured da windows 7 pc to an ip address within da range which network manager ws assigning when 'shared to other computers' ws selected and it worked! Now da question is how do i do it automatically? dhcp3-server never starts, it always fails with the error 'not configured to listen' or sumthng like it! Plus i want the wireless of my laptop to make an ad hoc connection to my mobile fone, which is also no possible...i think its some problem with da dhcp server.
I'm trying to share the internet connection of my Windows XP Virtual Machine (virtualbox) to Ubuntu. I know it sounds weird, but what happens is that i'm using a 3G modem to connect to the internet and 3G connections are still very unstable with ubuntu's network manager. Fortunately, the modem works a lot better with my Virtual Machine. I have already set up a "host only" network between my Windows XP guest and my Ubuntu host and i can they can ping each other but i still can't share the connection of my virtual machine. I already selected "share this connection" on win xp but i think i still have to configure something on ubuntu for it to work. The interface Ubuntu uses is vboxnet0 (not eth0).
This is the last thing to do before i can get rid of my Windows XP partition
i have searched and searched for an answer but nothing i've found has worked for me what i have is an old computer with 2 network cards in it the 1 conected to the internet is eth1 one connected to the xbox via crossover cable is eth2, what i'm trying to do is share the internet connection to the xbox using ubuntu,i've tryed alreadyusing the network manager,using firestarter,ip tables,even nat,and all have failedi've been using ubuntu for 4yrs now, and i have always before been able to find answers to my problems by simply googling the answer. but this is one i can't seem to find an answer on.
configuring Internet Connection Sharing from my Ubuntu 10.10 machine to a Windows XP machine. I've seen How To's but they didn't work, yet.
The Ubuntu machine connects to the Internet through a DSL USB modem that required packages not provided with the distribution, and specific instructions to configure it; so getting Internet working alone was difficult. As a result, I don't even use Network Manager, rather connect using the command pppoe-start. The machine is connected to the Windows PC through a simple cable, through the Ethernet card.
Some tutorials I've seen on ICS are for machines with two Ethernet cards, or for wireless connections; but I've seen none for a USB modem. However I once found one, years ago, and it worked, but I couldn't find it now. It was using iptables, and I didn't really understand what I was doing, but it worked. But then I had to format the disk, and now I can't find a way to get it working again.
I have a laptop with Easy Peasy / Intrepid Ibex connecting to internet through wifi (firewalled VPN), a PC with Windows 7, and a crossed ethernet cable to connect them. How can I get Internet on the PC? I tried to connect them but I can't even ping each other!
I have a modem connected to my router (pfsense on 192.168.1.1) which is then connected to a wireless AP (192.168.1.253). A number of PCs pick up the wireless and all is well.I've just received another broken PC that I've kicked into life and was going to run a FreeNAS box with it to back up a number of the PCs on the network. I've actually hooked this up via ethernet to my "server" PC (192.168.1.125 on its wlan NIC). Its all set up so that the server eth NIC (10.42.43.1) is connected to the FreeNAS box (10.42.43.2) and the FreeNAS box can ping both interfaces of the server, the router and the net, and any other box on the 192.16.1.x network. The problem is that I can't for the life of me get any of the 192 boxes to ping the FreeNAS box. I'm presuming its a routing / gateway issue with the server box but being pretty damn hopeless with these things I've been stumbling about breaking things.
I have no internet in Linux due to my only way to get internet is through my blackberry curve phone sharing ( I think some call this tethering) internet to the pc. It works fine in winblows of course with the provided winblows software, so I booted over to Linux, fired up VMware workstation 6.5, set up the internet in it, and I have internet in my guest os in vmware which is 32 bit xp media center. I right clicked the connection from "network connections" and went to share this connection. Now I'd like to share it to my host os, 64-bit Ubuntu 8.10 in Raid 0. Do I need to be using NAT or Bridged. I've set up internet sharing before but not virtually.