Networking :: Get Internet Access On Desktop Computer Through Networking?
Sep 10, 2010
I'm not really a newbee in Linux but I am a newbee in networking. I have both a Ubuntu laptop and a Gentoo desktop computer. I have just bought me the MBR1000 Cradlepoint router and it works great with my Verizon USB 760 modem plugged in it. I can now send and receive email on my Ubuntu laptop. I like it.My Gentoo desktop computer is just sitting there with no Internet access because my Verizon modem is no longer plugged into it but plugged into the router instead. Only my laptop now has Internet access. The laptop has an integrated wireless card built in the MB but my desktop has no such capability.
Is there a way (besides buying a wi-fi adapter) to get Internet access on my desktop computer through networking so that the router would give both computers Internet access at the same? My Gentoo desktop does have an ethernet adapter that perhaps I could useThe router has several LAN ports and one WAN port, both unused.
I managed to configure my W890i phone to get access to internet through an ubuntu-based computer. It's very easy to use the phone to give internet access to the computer, but the opposite is quite more tricky. For that I've done the following
----On the phone---
-Set the USB network option to "through computer", so that the phone uses the computer's internet connection and not the opposite.
-Decide and set "Shared Network" parameters: user, pasword and workgroup.
-In "conectivity-> internet connection" set "allow local network" to "yes"
----On Ubuntu 10.04---
-Install samba, samba-client, smbfs, smbclient, firestarter and dhcp3-server
-Configure Samba (System-> Administration-> Shared folders): same workgroup as in the phone, add new user (the phone), passwd this new user. In my case the user was called "w890i" and the password given was the same.
-Once the phone is connected to the computer through USB (then select "phone mode"), a new connection appears in NetworkManager: usb0.The aim is to create a shared network that gives internet access to this device. Edit the IPv4 parameters of this new connection, set them to Manual and give an IP adress (192.168.0.1) and a subnet mask (255.255.255.0); the rest of the fields are left empty.Connect this network.
-Set firestarter to use dhcp3: sudo ln -sf /etc/init.d/dhcp3-server /etc/init.d/dhcpd
-Launch firestarter and follow the wizard. Set "allow internet shared connection", choose the device for the primary internet access, and then the device for the shared network (usb0). Then change the settings for firestarter: activate DHCP for local network, set IP to the one we gave before (192.168.0.1).
-Open dhcp3-server config file sudo gedit /etc/default/dhcp3-server And set INTERFACES="usb0"
-Set the policies of firestarter: in incoming connections, allow connections from the IP adress given to the phone (192.168.0.1). Then add rules for the ports that need to be open for this connection. I opened HTTP, HTTPS, SMB, SMTP, POP3, IMAP, IMAPS, DHCP for all the connections in the local network.
-Apply policies and start the firewall.
------------
After all this, the phone can access the internet through the computer. Two problems appeared:
1. I couldn't get access to https sites, like webmails. The phone gave a "communication error". But then I tried with Opera instead of the browser built in the phone's firmware, and I could finally get to https sites.
2. I couldn't retrieve mail, neither POP nor IMAP nor IMAPS. I thought it was a firmware problem again, and I tried out several mobile phone email clients written in java, but none of them worked.
So this is at the moment the problem. If I connect from the phone to the internet directly through 3G, the email clients work for all my accounts. I don't think it's a firewall problem, because the ports are opened for this connection
Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.
When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.
I am going to a country with government managed firewalls. How can I connect to my home computer's (Ubuntu 10.04) internet connection from a computer behind these firewalls?
I am wanting a computer with an external dialup modem (ppp0 modem through a com port /dev/ttys1) to act as a gateway to the internet, forwarding internet traffic through ethernet (eth0 is set to static 192.168.2.2) to a router (the router is 192.168.2.1) where it will be broadcast to other wireless computers like my laptop (192.168.2.3). I've had this setup until recently when the gateway computer (the one with the modem) died. Now I'm replacing that machine with another box and an install of Ubuntu 10.10 but so far things aren't working for me.
Success so far:I have dialup access working on the new box. Took me a while to work out the configuration for getting dialup working, though the IP address is Dynamic (or it won't stay connected), "Check carrier line" is off, and "Ignore Terminal Strings (stupid mode)" is on in order to successfully connect and stay connected to my ISP. I also had to make my normal (non-root) user "lancer" a member of the "pid" group (the reboot) in order to use gnome-ppp as non-root. The laptop (192.168.2.3) is successfully connecting to the router (192.168.2.1) as I can see the router configuration page when I type http://192.168.2.1 into the laptop's web browser. This setup is unchanged from how I had it before when this was previously working and I don't want to change how the router itself is set up. What I want is to know what to fix in the new box in order to get it connected to the router (through ethernet) and bridging the internet through.
My problem is that whenever I plug in the eth0 from the gateway (192.168.2.2) to the router (192.168.2.1), Ubuntu's automatic plug-me-in network detection kicks in and I find my dialup no longer working through some kind of IP conflict (at least that's what I think it is). Maybe I don't have the "gateway" correctly assigned? (in the gateway computer for the ethernet connection, I had it pointing to itself as I don't know what to put for "gateway IP" as that is automatic So, just to check my connection, here I am pinging google (from the gateway computer which has the dialup modem) once a dialup connection has been made.
Code: lancer@lancer-desktop:~$ ping www.google.com PING www.l.google.com (74.125.237.17) 56(84) bytes of data. 64 bytes from 74.125.237.17: icmp_req=1 ttl=55 time=179 ms 64 bytes from 74.125.237.17: icmp_req=2 ttl=55 time=176 ms 64 bytes from 74.125.237.17: icmp_req=3 ttl=55 time=158 ms
[Code]...
What do I need to do in order to make Ubuntu of my gateway computer stay connected to my dialup but also simultaneously share an ethernet LAN to my wireless router and feed traffic to the other computers from there? I have googled this but some of the most promising instruction (e.g. http://www.ubuntugeek.com/sharing-in...in-ubuntu.html) call for packages like dnsmasq or ipmasq which seem defunct now in Ubuntu 10.10. Other pages seem to suggest dual-networks "can't be done" in Ubuntu [URL].. (what!?! I had it before my other gateway died)
I have ubuntu server installed on a pc. The motherboard died, so I switched the HD to another computer. Everything is fine except the network. I cannot access this computer from other computer (while it was possible before). I looked at the interfaces and everything seems fine. The nic itselft seems to work too.
I connected my laptop running with Ubuntu 11 in the LAN but I couldn't access internet.But I could ping to the other computers connected in the LAN. I tried the same thing with windows 7 in the same laptop and I could access internet.
I have been studying LAMP for a while now and all my websites are on the localhost. But if i wanted to access my websites from a different computer, how do i access do that? LAMP (192.168.0.2) client (192.168.0.3). Do i need to setup the DNS servers as well in my home network for me to access my intranet (LAMP).
I recently set up a network of computers via Ethernet, all of which use Fedora 10. I would like to be able to get any computer on the network to hook up to the internet.(I think the solution is now figured out - see below, on page 2, "problem solved")
I have a problem with my internet connection. It is turning on and off all the time. I can maybe surf 3 sites without a problem then the internet goes really slow and after that I wont be able to surf at all. After a while it works fine. I can't even look on ..... videos because all of them stop at half or before. I have connected to my router through my cellphone and my ps3 and those two are working just fine.
I am running ubuntu 10.04 64bits. I don't know what network card my computer has.
I have a computer running XP with a wireless Internet connection. I have installed Ubuntu 10.04 on a second computer. I would like to connect my Ubuntu computer to the internet through a wired connection to the XP computer. As I am a newby to Linux commands could someone explain how to do this in laymans terms.
I have 2 computers connected to my linksys router via ethernet cables.
My main computer is running Ubuntu while the other is Xubuntu.
When both comps are on, the internet works fine, but when my second computer is off, my main computer has super slow internet. Sometimes it takes 2 minutes and I get "This webpage is not available", and then I refresh that and it finally loads.
Why does it work when both comps are on? What could cause this?
I recently decided to install Samba in Ubuntu as a home file-sharing server. However, when I try to access this computer from another (using Windows 7), an error messages comes up. It says: "You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
The specified domain either does not exist or could not be contacted."
running apache2, i have already created a working sites. using virtual name hosting.but my problem is, i cant access my other sites except my server's localhost from other computer. i dont know what seems to be the problem, can you guys point me where to start looking?
I'm not familiar at all with the networking functions of linux systems, but I just bought an iPad, and I want to store all my movies, music, and documents on my computer at home, and access them from my iPad. I've heard a VNC client is the best way to go. But will this allow me full access, or just to view the screen? Will I be able to watch movies at the highest framerate with this method?
Yesterday i've installed Fedora 14 x64 on my desktop PC. Everything is working just fine, but then i came to the problem of sharing internet connection for other computers (strictly speaking, two laptop ones) that i use at home.
I know, there were many articles that cover that problem, but nevertheless i was unable to make the things work.
So, going to the point (i would point it out for clarify):
1) My desktop computer has two Ethernet interfaces (eth0 and eth1) and single WiFi one (wlan0), that is not used at the moment.
2) Desktop's eth0 is connected directly to the internet via cable; interface is configured to work in DHCP mode and it is working properly.
3) Desktop's eth1 is connected to the router (WRT54GL, as far as i can remember model) and it was used (under Windows XP) to provide shared internet connection; it is configured to have static IP of 192.168.0.1 with mask of 255.255.255.0 (default settings for XP I-net Connection Sharing) and i've configured it in such way in Fedora.
3) Router (connected to the eth1 in desktop) acts also as DHCP server, that assigns IP addresses for all (but already static-assigned desktop) connected computers (no mater, cable or WiFi). Newly connected computer receives IP of 192.168.0.x, where x lies within range 3..63 (1 and 2 are reserved for desktop and laptop itself, respectively), mask of 255.255.255.0 and gate / DNS of 192.168.0.1
4) Both laptops have enabled DHCP (one uses XP, while the other uses Fedora 14 32bit)
When i connect laptop, it receives IP / mask properly from router's DHCP, but i have no idea how to configure desktop to route I-net packets from eth1 to eth0. First thing i've made was to enable IP forwarding, by adding line.
Code:
Code:
For the moment i have two questions: 1) How to check whether internet packets are routed properly ? 2) How to enable (or "route") DNS ? Is there a need to configure DNS on desktop ? Or somewhat DNS packets can be "routed", since during eth0 autoconfiguration it already receives DNS addresses from i-net provider ?
I have so many _wired_ devices that I can't get by with just 4 eth cable outlets anymore, so I thought I'd hook up an older router that I don't use as a way to get extra places to plug devices into.
Now it looks like:
Internet then cable modem then router1/wifi + (1 eth NAT storage) then router2 + 4 eth0 computers: (legacy FC5 box) (legacy F11 box) (updated F13 box) (windoze)
All of the computers EXCEPT the FC5 box are fine (my def of "fine" is I can ssh to and from the other computers and to outside computers, and browse the web).
The FC5 box, however, can ssh to and from computers inside the network just fine, but can't get any kind of web browsing. Nor can it ping to the outside. I get a "Network is unreachable" error. I'm not using a proxy, not knowingly, and my firewall settings haven't changed...it certainly hasn't been blocking port 80 before.
what's the best way to go about adding more ethernet when you need about 7 cables. I'm not really excited to buy a router with 8 ports or anything like that, especially when this seems to _almost_ be working just fine.
Lately my computer, while connected to our router and using the internet, drags the connection speed of everyone in the house down tremendously, to the point of being unusable in many cases. Even buffering a ..... video causes tremendous lag across the network, making second-long load times stretch to a minute or more.
Now, our connection isn't the greatest, but ..... shouldn't cause that much lag, so I'm thinking there's something else at work. Is there some application I could use to monitor what programs on my computer are accessing the internet?
Im posting after reading through a lot of articles explaining the same thing on how to share an internet connection from a computer with two NICs.
I have the following simple setup
When I first followed this guide
I was able to ping between the GW and a client on the LAN but couldn't access the internet from it. So I started to configure different things to get it to work which failed.
Now I can't ping between GW and the LAN. I tried to follow the same guide over again and even flushing the tables but still...
These are my current settings (without any chains).
(this client also has a wireless connection displayed in 'ifconfig')
So, I'm trying to set up a network with my windows netbook so the Ubuntu comp can access the internet through the netbook's wireless. Finally got the network set up, but can't access the internet on the Ubuntu comp. Also, the Ubuntu machine can recognize and access the files on the netbook, but the netbook only sees a computer named Owner-a6012abd6 which asks for a password.
The netbook is running Windows XP SP3, with an Atheros AR9285 Wireless Network adapter(internet) and an Atheros AR8132 PCI-E Fast Ethernet Controller. The Ubuntu comp is running Ubuntu 9.04.
I set up my first web server and it works flawlessly -when accessed from external network or from other computers on my lan. However, I cannot access it from the computer where the server is run on. I have found numerous people with similar problems but the flavour I am experiencing is somewhat different and no solutions I have found apply to it.
I have two network interfaces on my server, eth0 (public static IP connected to internet directly) and eth1 connected to LAN 192.168.1.0/24 range. The server is 192.168.1.1. It is connected directly to the internet and serves as a SNAT for other comps on the lan.I added "192.168.1.1 www_server_com" to the /etc/hosts on the server and also on the other machines on the LAN. All the other machines can open website without any problem.HOwever, the server itself only opens website if the address islhost. Internal IP, i.e. 192.168.1.1. gets a time out and so does www_server_com ( I cant use dots as I do not have more than 15 posts on the forum )Here is the firewall script I am using.
I have two routers. One is a Verizon ProLine and the other is a Dlink. My setup is myComputer-Dlink-ProLine-Internet. I'm trying to get port 80 requests from the outside, access my http server on myComputer. I tried port forwarding on both routers, but that didn't work. I also tried to make the ProLine treat the Dlink as a DMZ, but that still doesn't work.
I am having a problem with my internet connection. It only works half the time. Usually when i start the computer it doesn't connect until i restart anywhere from 1 - 10 times. I did sudo ifconfig while it was not working here is the output:
I am in college and live in a dorm room. As a dorm resident, I have access to only one wired network connection and I am not allowed to connect it to a router. My primary computer is multihomed and I was hoping I could share network access (eth1) through eth0 to a router. Then I want to hook up my secondary system to the router. I am not using the WAN port on the router. I believe this makes it act like a switch, which seems to be what I want.Here is my /etc/network/interfaces file on my primary computer
Code: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).
I am in a situation at the moment which means I am going to be without an ISp for a week or two, and I can't survive that long without the intenet!!! What's more, I have 8 computers that need to connect, though not necessarily at the same time, but certainly more than one at a time. Anyway, I came up with an idea to buy a Mobile Broadband Dongle, and then share the connection via my PC. Problem is, I don't know how I would go about setting my PC to be a Wireless Access Point/makeshift Wireless Router, and sharing the connection.
I am a newbie to linux of 4 weeks. I set up my first web server and it works flawlessly - when accessed from external network or from other computers on my lan. However, I cannot access it from the computer where the server is run on. I have found numerous people with similar problems but the flavour I am experiencing is somewhat different and no solutions I have found apply to it.I have two network interfaces on my server, eth0 (public static IP connected to internet) and eth1 connected to LAN 192.168.1.0/24 range. The server is 192.168.1.1
I added "192.168.1.1 www.server.com" to the /etc/hosts on the server and also on the other machines on the LAN. All the other machines can open website without any problem.
HOwever, the server itself only opens website if the address is localhost. Internal IP, i.e. 192.168.1.1. gets a time out and so does www.server.com.I do not understand why the record in etc/hosts doesn't point it in the right direction. It seems that when I open address 192.168.1.1 it still gets routed to the external network. I have seen using DNAT to deal with the problem but it didn't work in my case (maybe I didn't do it correctly). I have spent whole evening/night trying to sort it out, it's 4AM now, going to bed frustrated and angry (at myself hahaha). Still like linux very much, won't be going to windows anymore. Please help