Ubuntu Networking :: Can't Access Internet Using Usb Modem
Feb 13, 2010
I have a usb modem : huawei e220.I am using ubuntu 9.10. I can't access the internet using it. I made a connection form the mobile broadband tab but every time it disconnects .Ubuntu identifies the modem but every time i try to make a connection it fails.
I just installed Lucid Lynx Ubuntu on my computer. I love it, but I do not see how to configure my dial-up modem and connect. I'm hoping it's still possible. Here's my hardware.
I have 2 pcs at home. I dont have a switch so I can connect only one PC at a time to my adsl router/modem for internet access. In the past I had successfully connected the two PCs (NIC to NIC) to each other using the same ethernet cable which was supplied with my dlink adsl modem.
Recently the motherboard of on of my PC went bad so I replaced it with a new one. The problem is when I connect the two using the same Ethernet cable they won't connect. The lights on the Ethernet port won't light up. I can still connect both of them to the adsl router (NIC to Router) (one at a time).
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'm running Kubuntu karmic and i've been using a 3G Huawei E1552 modem to connect to the internet, everything was going well when suddenly my modem stopped working. I've tried reconfiguring everything, i even reinstalled kubuntu from scratch with no success.Here's a part of my /var/log/debug
HTML Code: Feb 8 17:14:01 alberto-laptop kernel: [ 1532.099883] usb-storage: device found at 7 Feb 8 17:14:01 alberto-laptop kernel: [ 1532.099888] usb-storage: waiting for device to
I installed today Slackware64-current on my laptop, but I can't get working internet connection. I have installed wvstreams 4.61 and wvdial 1.61, configured it right, it gets an IP address and connection but I can't get an access to the internet.
how to connect my modem to the Internet, the help file on my Ubuntu 9.10 does not match the features available. I am using a modem from Starcomms (a local CDMA services provider in Nigeria) made by Epi Valley.
I am new in Ubuntu Linux. I am using Acer Aspire 4740. And I have purchased HSDPA Mobidata as internet modem. But I cannot connect it. How can I connect it and use internet using this modem?
My router malfunctioned after a weird lightning strikes scenario so i tried connecting directly to the modem, i cant connect on my ubuntu desktop so itried connecting using my laptop with windows 7 and gets connected
i have E220 usb modem which i managed to crack and make it work on the Airtel network here in india.The problem is i cant seem to make it work in ubuntu, the way it connects is as below :
i boot in windows and connect to internet Then reboot in ubuntu and then it works fine.and i have to do this everytime. appears like the device gets initiated by booting in windows.
I have a sprint usb 3g modem that plugs in via usb. I want to be able to share that Internet though an Ethernet port so I can connect another PC or my playstation so I can steam movies or just use the INTERNET on another puter. Iv tried lots of stuff I found on Internet like firestarter for one but it doesn't want to set up right.
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 have a MTS MBlaze USB dongle, with which I can connect to the internet. The question is, how do I set up a ssh connection accessible over the internet so that any one can connect to my PC through that (using valid username/password provided by me of course) ? If not possible, what do I need to make this possible ?
I have a ZTE MF100 3G internet USB modem working fine under ubuntu 10.04 but, there is a little problem:-It does connect in 2 modes: 2G and 3G. If 3G signal is fairly strong, downloading speed reaches 200 KB/s for 600 MB/Day, then for the rest of the day it switches to 2G mode with 15 KB/s max downloading speed. If 3G signal is weak, it switches automatically to 2G, and that's what I hate. Under Windows, I can manually force the modem to connect in 3G mode even if the signal is weak.
When I type my modem configuration page IP in browser instead of showing configuration page it shows default web page for apache.What's wrong?Is there any IP conflict?
So i have a d-link modem and the DHCP server is not running. I need to access the internal config to do some troubleshooting. IP is supposed to be 192.168.1.1, but I only have my DSL ppoe IP, and can not access it.
I was recently asked to get a 3G ZTE 633 modem (not in stores) to connect to the internet whenever it was plugged in. I had it successfully working on my Ubuntu Gutsy Gibbon machine but it does not work on Fedora 10 which is where it is required to work. When the 3G modem is plugged in I use a Udev rule to run usb_modeswitch which changes it from being in usb storage mode to being in modem mode. This part works fine. I then run a second udev rule (on the modem device), this should run a script which connects to the internet. Unfortunately it falls over here. The script does run but it will not connect. However if I run the script manually from root it works fine. I guess that it is a permissions issue.
One thing to note is that there are three udev devices associated with the modem. They are ttyUSB0, ttyUSB1 and ttyUSB2. I use ttyUSB2 to talk to the modem when connecting. Here are the files. If you require any more let me know:
The first udev rule: SUBSYSTEM=="usb", SYSFS{idProduct}=="2000", SYSFS{idVendor}=="19d2", RUN+="/usr/bin/usb_modeswitch"
The second udev rule: SUBSYSTEM=="usb", SYSFS{idProduct}=="0031", SYSFS{idVendor}=="19d2", MODE="0666", RUN+="/outputs/run_internet"
This is my first post on forums.i am using centos 5.5 on my pc. i want to use internet on my using my cellphone as modem.internet is running successfuly on my handset.i have got a usb cable to connect it with pc.details are given below:-
Ive got two connections, one is the eth0, that is the LAN connection to the DSL modem (192.168.1.1) and the other is the DSL connection that I connect to use the internet. Now I can only connect to one of the two at a time, so when I'm connected to the internet, I am not able to access 192.168.1.1. How do I use the two simultaneously?
I just bought a TRENDNET TDM C4000 (=modem/ wiredrouter) and got it working. If I connect my computer with through the ethernet port directly, the internet will work. However, when I try connecting the ends of the ethernet cable on the modem and my wireless router, it's not transmitting. I know I set up the wireless router correctly because it worked with my previous modem. I just need to know how to configure my modem so that it works with my wireless router (D-Link DI-524).
I have a long wired ethernet wire to satisfy my academic needs for the internet at the moment but my mother is not able to surf the internet and it would be more convenient for myself to put the wire back to my desktop and have my laptop browsing wirelessly.
Earlier today I decided I wanted to switch back over to ubuntu, my internet was working fine, but as soon as i reformatted to Linux my modem stopped showing any lights under ADSL - TX and RX. and I can't connect to my wireless connection anymore. What should I doooooooo
I installed ubuntu 10.04 in my desktop, was working fine. connecting to the internet through linksys router. now my internet is not working, because i removed the linksys router and connected directly from the internet provider modem, Motorola sbv5222 broadband modem. Now my internet is not working.