Networking :: Allow Access To The Internet Through Laptop?
Apr 23, 2010
I have my desktop and laptop connected using an "Cross Over Cable" to transfer files. Each PC also has a wireless card which is used to connect to the internet. Today, the card in the desktop went bad, so I want to access the internet from my desktop through my laptop. Here is the specs running Ubuntu 9.10
I have a Centos5.4 64bit laptop, having an eth0 and a wlan0. I connect this wired eth0 to a wall socket to access Internet via DHCP (eg the assigned address is like 192.168.192.xx). I do not have access to the ADSL router. How can I turn this laptop into a Wifi access point to allow, say my Ipad or any wireless-only client, to access the Internet thru this laptop ?
That is, communication between iPad to laptop is wifi(ad-hoc connection ??), laptop to the ADSL router is wired LAN. The laptop need to have some bridging build in ? If you can refer me some concepts, then I can follow up from there.
To start off I do not have the ability to post in the Networking/Wireless thread. I attend DeVry university and in my school they recently rolled out "Bluesocket." Now that they have done this I am not able to access the internet utilizing my ubuntu laptop.I am able to connect to the network. When I open my web browser I am redirected to the "bluesocket" login page where I am able to successfully log in. The next step to accessing DeVry's internet service is to allow Bluesocket to do a scan using a Java applet. That scan is successful.
The results of the scan inform me that I am not being allowed to access the network resources because I don't have an antivirus or firewall program installed on my computer. I do not wish to have an antivirus or firewall program installed on my laptop to utilize DeVry's network resources. My question is what steps do I need to take to bypass/trick bluesocket?
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
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 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 have finally gotten my courage up and decided to take the plunge into Linux. I bought a used HP Pavilion zt1135 laptop, and loaded Ubuntu 10.04. The laptop has no other operating system on it. Everything seems to work fine except it won't connect to the internet. I am using a Comcast cable modem, which uses DHCP and a wired connection. It works fine on my XP computer, but on the Ubuntu laptop it claims there is no network connected. Firefox gives a message something like "No server found".
I have tried recycling the power to the modem and then booting up the laptop. I have tried unchecking "Enable Networking" and then re-checking it. I have checked the ethernet cable on another machine and found it OK. Is it possible Ubuntu does not have drivers for this laptop's ethernet connection, or that the laptop is defective?
Sorry if this is already posted, but I wasnt sure the right keywords to use the search feature... I am somewhat familiar with older Ubuntu, but recently got 11.04 and installed it on my girlfriends laptop and during installation when it was scanning for the DHCP or whatever it says it failed to find it or something or other and it gave options to do it manually or to do it later so I chose to do it later and after booting into the OS I can not do anything via the internet, not even updates. I have tried looking at the network connections and the only thing there is a wired connection. This laptop accesses the internet through a desktop with Cox cable internet and a wireless router...
I have a laptop running Ubuntu 10.04 with wireless working out of the box. I've been using it for the past few weeks because my iMac G5 has really slowed down with OS X. Today I installed 10.04 on the iMac G5 as well. However, wireless isn't working out of the box as it asks me to install the Broadcom wireless driver. The problem is, without this wireless driver, I can't install the drivers.
I am wondering if I can connect the laptop, which has wireless, to the iMac with a spare ethernet cable to give the iMac internet so it can download the driver.I'd rather not have to unplug it and move it downstairs to the router just to install the drivers.
I just installed Ubuntu 10.04 on my mac G4 (PPC) and it does not connect to wireless with my wireless card (drivers maybe) I am a complete newbie with any linux operating system (I've tried SLAX but never kept with it) So is there anyway i can use my laptop with Windows XP to cennect to the wireless on my G4 using an Ethernet cord?
How do I get internet connection through mobile broadband (internet stick Nokia CS 15) for my laptop (Fujitsu Siemens) with encrypted hard disc (LVM)? I have set up LVM using Ubuntu 10.04 Alternate install.
Earlier when I installed the ordinary desktop version (Ubuntu 10.04 desktop) using no encrypted disc the internet connection worked fine. Before I installed the software from the internet stick an image appeared (Nokia Modem) on the desktop. I dubbel clicked the image and through the files that appeared I installed the software. After that I clicked the Eject Volume and after some input I had my connection.
But now I dont get that image on my desktop when the stick is plugged in. I can imagine that I have to mount the stick some how. I can further imagine that the encrypted hard disc through its protection now stop me from this action.
I have a nokia phone, cant recall the model number, but its gprs enabled and i can check my mail on it. Its got a vodafone simcard and theres a packet data connection. how i can set it up with my laptop so as to access the internet using the phone as a modem...?
I'm sure that some of us techies have found the need from time to time to have a portable wireless bridge (see ascii art below) on our jaunts into the big bad user-woods, and I am here to ask the question of HOW to pull this off, with the least installation/configuration possible, as my tech lappy is also my main computer. What I want to do is this:
Code: (ISP) -> (wlan0 - [MyLappy] - eth0) -> (Client computer) Basically, thats a mess, so i'll explain it further: wlan0 grabs the netz, and a computer connected to eth0 via switch/router/crossover cable can access those netz.
1. No configuration on the client would be prime choice rib for me.
2. Client should be any OS/Arch.
Any grand ideas out there? Currently using FC10, with various extra repos enabled.
Oh, and N00by alert, I'm learning quick, and am not shy to try new/complicated things, just bear with me!
I just bought a samsung r580 laptop. this is the first time i've ever owned a laptop. I have owned a pc with ubuntu 8.04 installed on it and the internet worked trouble free. Now I have windows 7 and ubuntu 9.10 dual booted on my samsung r580. I used wubi to install and the internet works fine in windows but will not work in ubuntu. I have been trying to get this to work for about 5 hours now
I have an old laptop with wireless, 2 desktop computers without wireless and an Allied Telesyn gigabit ethernet switch (specifically AT-GS908GB). Is it possible to hook the 3 computers into the switch and use the laptop's wireless as the internet source for the other 2?
I'm trying to make my F10 Laptop a wireless Access point.
When I 'iwconfig wlan1 mode Master' I get: SET failed on wlan1; Invalide argument.
wlan1 is a Netgear WG111v2 which worked as soon as I plugged it in after I installed F10. I don't know is it not supported? What is? Is there a different driver I can put on that will work in master mode.
I am completely new to linux in any flavour. I installed ubuntu 10.4.1 64-bit on my Gateway NV59 laptop as a dual boot with Windows 7. The installation went just fine. When it comes to networking, I can connect to my home network when wired directly, wireless is another matter. I can connect wireless in windows just fine, so the card is physically fine.
My set up is as follows: Gateway NV59 laptop with Atheros AR928X PCI-E wireless adapter Linksys WRT54G router using WPA2 Personal and a class C address scheme (192.168.x.x) (If anyone thinks it would be necessary to post actual hardware specs of the laptop, I can, but don't think it really necessary). I have followed the Wifi Wireless Troubleshooting Guide found at [URL].
When connecting to my network wirelessly, I click the icon in the top right, and choose "Create New Wireless Network". When I input my settings (SSID - not broadcast, and security type and key - WPA), it then states I am connected under the "Wireless Networks" section found in that menu, and shows my network name with a strong signal and a computer/monitor icon. When I double-click the icon, it tells me I am connected and that the connection is active, yet the actual wireless icon on the top bar is grey, not white, and has a red exclamation mark on it. According to the steps in the troubleshooting guide, my wireless card is recognized and installed, with a driver of ath9k.
When I run lsmod, the driver is listed, therefore loaded, and ndiswrapper is NOT listed. I have verified that the driver is communicating with the kernel. When I scan for my router, it is listed under Cell 04, with the correct SSID and hardware address. There do not appear to be multiple drivers loaded, and my wifi is NOT disabled. When I check to see if I'm associated with a router, iwconfig shows my network ssid under wlan0, with the correct hardware address listed under Cell:, yet I cannot ping my router's internal ip address. At this point, I ran ifconfig, and for some reason, my wireless card has been given a class A address of 10.42.43.1.
When I try to assign an ip address via dhcp, DHCPDISCOVER runs for a number of intervals and then tells me "No DHCPOFFERS received", yet my router is using dhcp to assign ips with a pool of 50, more than enough ips for all the hardware in my network. When I run the command "sudo invoke-rc.d networking restart", I get the statement "Ignoring unknown interface wlan0=wlan0" - not sure what that means, but doesn't sound good to me, and retrying to accquire an ip address through dhcp still does not work. If I attempt to assign an ip address within my network range manually, I first run the command "sudo ifconfig wlan0 down", then just out of curiosity to see if the interface is really down.
I run ifconfig again, and wlan0 is no longer listed, but now there is eth0 (my regular ethernet interface) with no ip address. AND another interface is listed - eth0:avahi with the same hardware address as eth0, and an address of 169.254.4.42 - this seems to be the default address the OS will assign when it cannot get one via dhcp, but I have no idea why it has shown up as eth0::avahi... Anyway, after entering the command "sudo ifconfig ip addr 192.168.x.x netmask 255.255.255.0 broadcast 192.168.x.255 up" with the appropriate addresses, I receive the error "addr: Unknown host".
What I have NOT tried, are the following steps: 1. Change my router to an open signal (I would prefer not to do this, but will, if it is absolutely necessary for troubleshooting) 2. Try gtk wifi, or wifi radar 3. Try booting with kernel option pci=noacpi or acpi=off (not entirely sure how to do this just yet) 4. Try wpa supplicant (not sure what this is, just noted it was in the troubleshooting guide)
Ubuntu 10.10 (kernel 2.6.35-23, amd64), Network Manager is installed, the laptop HP 6735s (I am certain that wifi is working, - I can connect to other wireless networks), connected to the Internet through ppp0 (VPN), eth0 looks at LAN interface, WiFi - eth1 (info from iwconfig).
WiFi driver "Broadcom 802.11 Linux STA wireless driverfor use with Broadcom's BCM4311-, BCM4312-, BCM4321-, andBCM4322-based hardware" is installed.
Objective - to create WiFi access point and connect through it to ppp0 with my phone (HTC Desire) or other devices.
My VPN connection (ppp0) and network are registered through my internet provider's script - [URL], not set up not by Network Manager. If I create a new wireless network in NM (point-to-point or access point, IPv4 set to auto) - laptop can not find the network, Internet immediately fall off. Through the manual settings and complex scripts that I found websites and forums I could not get it to work ..
I do not have access in my laptop with ubuntu 10.10 maverick 64bit installed. I deleted network manager when trying to set up a static I.P follow the guid on this page www.liberiangeek.net/2010/09/setup-permanent-static-ip-add I've googled around. The methods suggested to solve it have not been useful in my case. I tried to the method by a user on this forum
Quote: Originally Posted by lswb
Method 1) Start synaptic, click on Settings/repositories follow instructions to install from live CD. After installation click "reload" in synaptic and install upgrades if applicable. Method 2, if you have a wired ethernet connection, interface name is eth0, using dhcp, which is the most common scenario, open a terminal and type these commands:
sudo ifconfig eth0 up sudo dhclient eth0
If you have wireless it's a little more complicated, but if you have an unsecured network (no WEP or WPA) and your wireless interface name is say eth1, and your wifi network essid (name) is "mynetwork" it wo uld be something like this:
sudo ifconfig eth1 down sudo iwconfig eth1 mode managed essid "mynetwork" sudo ifconfig eth1 up sudo dhclient eth1