Networking :: Connecting To Internet When 3G Modem Plugged In

Apr 25, 2009

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.

The device permissions are:
crw-rw---- 1 root uucp 188, 0 2009-04-26 11:31 ttyUSB0
crw-rw---- 1 root uucp 188, 1 2009-04-26 11:31 ttyUSB1
crw-rw---- 1 root uucp 188, 2 2009-04-26 11:31 ttyUSB2

The script and script folders permissions are:
drwxrwxrwx 2 root root 4.0K 2009-04-26 11:46 .
drwxr-xr-x 23 root root 4.0K 2009-04-26 11:13 ..
-rwxr-xr-x 1 root root 95 2009-04-26 11:46 run_internet

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"

The script:
#!/bin/bash
/bin/echo script
/usr/bin/wvdial &
cp -f /etc/telstra_resolv.conf /etc/resolv.conf

The wvdial config file:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = ATS7=60 S30=0 S0=0
Init4 = AT+CGDCONT=1,"IP","telstra.internet"
Modem Type = Analog Modem
Baud = 9600
New PPPD = no
Modem = /dev/ttyUSB2
ISDN = 0
Dial Command=ATD
Phone = *99#
Password = user@bigpond.com
Username = password
Stupid Mode = 1

So what am I missing? I suppose it is related to device permissions. Why does the "mode" command not work? With what rights do udev rules run?

View 1 Replies


ADVERTISEMENT

Networking :: Connecting To Internet Using GPRS Modem With WVDIAL?

Apr 11, 2011

trying to connect to the internet using wvdial but facing problems. the command runs fine until i get PID ppd Carrier detected. Starting PPP immediately.

--> Starting pppd at Sat Oct 23 10:40:09 2010
--> Pid of pppd: 2520

nothing happens after this.. I checked the resolve.conf and it is empty. i put openDNS server addresses but still did not work.

View 3 Replies View Related

Ubuntu Networking :: Connecting 7.10 Computer To The Internet Using SE 580i Phone Modem

Mar 9, 2010

I have just installed ubuntu 7.10 on my computer. The problem is getting it connected to the internet using my Sony Ericsson w580i as a modem. I have used my phone to connect to the internet on XP operating system easily. Please assist me and try to give me a more simplified step by step procedure.

View 9 Replies View Related

Ubuntu Networking :: Connecting To The Internet Through A Lynksys Wireless G Router And A Cable Modem?

Aug 6, 2010

i'm having problems connecting to the internet unless i manually enter the IP info.

automatic DHCP does not work. I'm on a dual boot machine vista/ubuntu 10.04 LTS connecting to the internet through a lynksys wireless g router and a cable modem.

View 2 Replies View Related

Ubuntu :: Connecting To Internet Using A D-link Glb 802c Modem?

Apr 13, 2011

I am using Ubuntu 10.04 LTS. my PC is a Compaq Presario SG3043IL with a D-Link GLB-802C ADSL 2+ Router. previously i was not even getting connected to the modem but now some how i have connected my ubuntu to the modem but no way can i connect to the internet. the internet connection workins fine whenever i log on to my XP. need to connect to the internet.

View 2 Replies View Related

Ubuntu Networking :: Telstra ZTE MF636 - Will Not Recognise That The Modem Is Plugged In

Dec 15, 2010

I've got a telstra MF 636 modem that I've been trying to make work in Ubuntu 10.10.

Telstra have the modem report itself as a CD when it is first plugged in, but I've found out how to get around that using the terminal in the telstra software.

Anyway, my problem is that the computer will not recognise that the modem is plugged in. lsusb reports it as there, but the access point does not appear under the network icon 99 percent of the time. On the rare occasion it does, I click it, and it tries to connect, with the little animation and all, but it just disconnects.

View 9 Replies View Related

Ubuntu Networking :: Huawei E1552 Modem To Connect To The Internet, Everything Was Going Well When Suddenly Modem Stopped Working?

Feb 8, 2010

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

[code].....

View 4 Replies View Related

Ubuntu Networking :: 9.10 Not Connecting To Internet At Home But Connecting From Work

Feb 9, 2010

I just installed Ubuntu 9.10 and its great. However when I connect to the internet at home it shows that the connection has been established but I still cant connect to the internet. My flatmates are all able to connect. However, I am able to connect from work both wirelessly and through an ethernet cable.

View 2 Replies View Related

Fedora Networking :: USB Modem Not Connecting In FC11 X64?

Jan 23, 2010

The problem is that when I connect my phone to my machine FC11 x64 via USB and use the phone as a modem NetworkManager does not recognise the phone as a modem. The phone works well on my laptop which is FC11 32bit system, NetworkManager detects it and sets it up as eth2 and away I go, no problems at all. I would like to ask the community how can I go fault finding to find out why it does not work. #lsusb shows that the modem is being detected by the system but beyond this I don't know where to look and get things going.

View 1 Replies View Related

Ubuntu Networking :: Connecting Through A Cable Modem?

Jun 23, 2010

I am using ububntu 9.10,and have a cable modem internet connection. All I have is an ethernet cable given to me,and when plugged in a windows machine and fire a browser am redirected to default login page where i can login, but when i plug it into my linux machine,i cant get the same done. In network connections it doesnt shows my autoeth0, i have deleted my existing dsl settings(not autoeth0),made a new wired network,i doubt what should i put into MAC addrs field(i have put my machines mac given by lshw -c network.) What should I put in DHCP client id? Anyways when i click on network connections it says under my wired connections-device not configured properly.

View 6 Replies View Related

Ubuntu Networking :: USB 3G Modem (netstick) Not Connecting?

Jul 14, 2010

In my attempt to get my USB 3G modem to work on Ubuntu 10.04 netbook edition I have made some progress to the point of getting the driver for it up and running, though connecting to the Internet after defining a profile is an issue. I have followed this ubuntuforums thread simply to get started with the usb modeswitch to get the usb modem identified by the system.

Debug information:

uname -r:

Code:

2.6.32-23-generic
cat /etc/issue:

[code]...

View 6 Replies View Related

Ubuntu Networking :: Connecting 3 Wireless Modem Via USB?

May 22, 2011

I've recently installed Natty and the only problem I have with it so far is attempting to connect my Huawei E5830 Three Wireless modem via USB and successfully connecting to the Internet from it. I've fiddled around with the network settings and nothing, I've also done some work in the Terminal to try and correct the problem.

View 1 Replies View Related

Fedora Networking :: Connecting Mobile As Modem To Laptop?

Jan 18, 2011

I am having a Sony Ericssion Aspen M1i window's mobile which I need to connect as modem to my fedora 13 laptop....

View 11 Replies View Related

Ubuntu Networking :: Connecting 3g Modem Disconnects Home Lan?

Apr 3, 2010

running Ubuntu 9.10 x64bit fresh install and updated.When I connect with my 3g um150 modem it disconnects my home network?? I cannot get them to run both at the same time and of cousre the next thing would be to share the internet connection.

View 9 Replies View Related

Ubuntu Networking :: Banglalion Dongle Usb Modem Not Connecting?

May 29, 2010

I use Banglalion WiMax usb dongle modem. I like to use it in ubuntu os. When I connect it to my Desktop PC's usb port, it respond nothing.

View 9 Replies View Related

Ubuntu Networking :: Connecting Tata Docomo USB Modem In 10.04?

Jul 22, 2011

I have a USB Modem MMX 372 G to connect internet lsusb showsCode: Bus 002 Device 002: ID 05c6:9000 Qualcomm, Inc.and following is /var/log/messages when I connect the USB modem and connect it for the first time the USB modem Quote:

Jul 24 08:37:42 bond kernel: [ 110.200159] usb 2-2: new high speed USB device using ehci_hcd and address 2
Jul 24 08:37:43 bond kernel: [ 110.353219] usb 2-2: configuration #1 chosen from 1 choice

[code]....

View 1 Replies View Related

Ubuntu Networking :: 8.04 Box Plugged Into Wireless Router Cannont Access Internet?

Jun 5, 2010

I have I fileserver on my home network. It has a static IP and is plugged into the back of the wireless router. It is fine on the network but cannot access the internet. I noticed this when I was trying to update my package list. This is what is in /network/ interfaces:

auto eth0
iface eth0 inet static
address 192.168.2.100
netmask 255.255.255.0
network 192.168.2.1
broadcast 192.168.2.255
gateway 192.168.2.1

[Code]...

View 2 Replies View Related

Ubuntu Networking :: Connecting A Modem Router With A Mobile Broad Band Umts Connection?

Feb 17, 2011

sometimes our ADSL connection gives up and we are left without internet connection for days until the problem gets fixed. I mean by this problem along the phone line. It affects all machines that connect to the internet through a Netgear WIFI Modem Router. I recently tried an alternative when this happens is to use a USB Huawei Mobile Broadband UMTS connection which works when you insert it in 1 laptop. Is there a way i could get the Netgear WIFI modem router to connect on that usb stick or PC that is online on that usb stick and give access to other machines that will want to connect to the web ?

View 4 Replies View Related

General :: Automatically Connecting To A Network When The Cable Is Plugged In?

Apr 2, 2011

Is there a way to have linux connect to the network when the ethernet cable is plugged in? I'm using Gentoo Linux, and I haven't found the right setup for the conf/net that'll allow me to do that.

View 1 Replies View Related

Networking :: Connecting LAN PC Through Internet?

Mar 31, 2011

I would like to connect a PC (it has no white IP) through Internet. It's possible to create tunnel with SSH, but I need more easy way. May be there is some service exists (like TeamViewer), so people can just run simple command on that PC?

View 3 Replies View Related

Networking :: Connecting To Internet On Ret Hat 5

Aug 16, 2010

Am not able to browse on Linux 5.please provide me step by step procedure to config internet on my Linux 5

View 3 Replies View Related

Networking :: Internet Configuration Through Dsl Modem

Sep 4, 2010

Recently i got bb internet connection, how to configure my linux pc to internet using DSL modem i.e in bridge mode.

View 4 Replies View Related

Fedora Networking :: Wired Networking Not Connecting In 12 With Windows Internet Connection Sharing?

Jan 16, 2011

I just want to use Internet Connection Sharing (ICS) to connect to the internet. I have done a massive amount of troubleshooting, but some of it seems to contradict itself, and the only two things that I know for sure are that it used to work, and that my Ethernet cable is not the problem. When I use Terminal utilities like ifup and dhclient it seems that it can not determine IP information, but when I try to put it in manually, the "Apply" button grays out right after I finish typing it in. When I try to connect normally, in KDE or GNOME, the icon acts like it's connecting, then instead of having the connected icon, I receive a notification that "the network has been disconnected", and it goes back to the disconnected icon.

Oh, and by the way, I know that I could probably find a workaround, but I have limited resources, and this used to work. The Linux is a Dell desktop with Fedora 12 and the Windows is a Windows 7 HP laptop.EDIT: I hope that I didn't mess something up, but I accidentally used system-network-config to try putting in the IP address there, and ended up changing it back to the original settings, but the computer is now calling it Auto Ethernet in the taskbar icon, although sudo iwconfig in the terminal still calls it eth0.

View 7 Replies View Related

Fedora Networking :: 12 Connecting To Internet?

Apr 15, 2010

I'm using ADSL modem (not router) and I can't connect to internet. The network manager and the pppoe-setup command doesn't work. So I'm asking some of the experienced users of fedora 12 to help me setup my connection.

Details: ADSL modem with pppoe connection (working fine on win xp)

View 4 Replies View Related

Ubuntu Networking :: Connecting To The Internet On 9.10?

Jan 19, 2010

I'm running Ubuntu 9.10 Live CD and I can't connect to the internet. I click on System --> Preferences --> Network connections and under the tab DSL I click Add. After i fill the information I click to connect to the new connection and after a while it shows me a baloon which says "Wired network: Disconnected - you are now offline".

View 1 Replies View Related

Networking :: Connecting To Internet Using Wvdial?

Jul 29, 2010

I am trying to connect to Internet using Wavecome modem with Airtel GPRS connection. I am able to successfully connect and browse the Internet using wvdial. But if I use pppd, I am getting the error message as "LCP Terminated by peer".

The exact error I am getting is pasted below.
[root@pscu1320 ppp]# pppd call gprs-wavecom
GPRS modem init: press <ctrl>-C to disconnect
Wakeup Modem

[Code].....

View 1 Replies View Related

Networking :: Strangest While Connecting To The Internet Ever Seen?

Apr 5, 2011

I had an ubuntu 10.4 box, I used it mainly for programming, virtualization & other stuff. I've installed this box about 1 month ago, working on it everyday. About 2 days ago problem appeared when I just opened up firefox for cheking my E-Mail. I typed : [URL]. & nothing appeared & I just seen the famous firefox page when a networking problem is around . I just wondered and checked the connectivity & the wire itself, but find no problem around them, while playing with firefox I just had a turned on virtualBox machine (Windows XP service Pack 3), I just checked the internet within vm & working fine, I checked my e-mail from vm (windows xp), I thought restarting the system might help to solve the problem but damn, problem didn't solved & still arounds Well, I searched through websites dedicated to linux networking & forums that might help, I did anything that faced to my brain , follow another people recipes but problem did't solved for about 3 days ! Playing with primary & alternative dns didn't help, I did my best about solving the problem, disabling ipv6 from both linux networking settings & firefox itself didn't help also . After that, I thought reinstalling the linux might help to solving the problem, but install a new version of ubuntu, 10.10, I tried it, install it but the holyshit problem still arounds ! I think this might be a bug on ubuntu distro, I tried Mint 10 & the same problem, reinstalling x64 version of fedora core & the same problem .It's interesting that the same settings for TD-8101G TP-Link working fine for my Windows XP, Windows 7 x64 & the problem is arounds just for my linux distros .As I said I checked the internet for the problem & found nothing workable for me. I thought it's better to describe the problem & maybe another people faced with that problem .

View 9 Replies View Related

CentOS 5 Networking :: Not Connecting To Internet

Feb 27, 2010

I have a CentOS server that I can connect to over my local network. The computer I'm currently on is on that same network and can access the internet. My server can not connect to the internet. The network card is obviously connecting to the network since I can access the server locally with SSH or HTTP. While in the terminal for the server, I type wget google.com and the server can not find the specified host, so this leaves me to believe it can not access the internet.

View 2 Replies View Related

Ubuntu Networking :: Cannot Access Internet Via DSL Modem In 9.10

Jan 21, 2010

the bsnl modem cannot access the ubuntu 9.10

View 2 Replies View Related

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.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved