Ubuntu Networking :: Sending USSD Code To UMTS Service Provider?
Apr 18, 2010
I have the Huawei E160 UMTS Stick with a German SIM from O2. Actually it is a prepaid tariff where I can buy a daily data flat rate. And I am running Ubuntu 10.04 UNR. I use SMS to order and confirm a daily data flat rate and I made this working with gammu. Not the most comfortable but a very reliable solution (see In order to charge the my account or to check my account balance I can either use the Original Huawei Software under Windows or I can put the SIM in my mobile and dial a number code. By entering the code '4444' my UMTS account gets recharged with 10 EUR (debited form my bank account). With the code '*101#' I can check the account balance.
What I want to do: I want to be able to recharge my account and check my account balance with Ubuntu, so without taking the SIM out and putting it into a mobile phone (and obviously without using the original Windows software).Using gammu in order to send the necessary codes did not work so far. When entering gammu --getussd *101# I get the following result:
Press Ctrl+C to break...
USSD received
Status : No action needed
I am facing some problem while running my tools (electronics tools).Actually my company has changed the internet connection (internet provider). Everything is working fine but it changed my IP address (which is ok) but it also changed my HOSTNAME (which is really starnge for me).And the problem with my tools is that with old connection it's working fine but with new connection GUI mode is not working, only batch mode is working.
I am a newbie to linux and running ubuntu server 10.10 (no gui), I had it configured with a fixed ip address and all was fine till I changed internet poroviders and got issued with a new router.
I am trying to configure the server to reflect the new settings of the new service provider. here are the contents of /etc/network/interfaces
Just so I got this right can someone tell me if I am right here. address is the IP I wish to give to my server statically. and gateway is the ip of the router. When I try to ping the router I get
Code: Ping 192.168.15.1 (192.168.15.1) 56(84) bytes of data. From 192.168.15.1 icmp_seq=1 Destrination Host unreachable When I try to ping the internet i get :
[Code]...
Is there anyone that can shed some light on where my problem may be. As i said before I got the new router I had been working with the server no problem.
How do I configure my modem without setting a service provider? When I try to configure my modem I can't get past the page for setting my internet provider. I have DSL and only use a modem for faxing. I'm running SUSE 11.3 32bit with KDE 4.5.2 and the modem is a BCM4212.
I have RHEL 5.5 ,Suse linex and windows7 is also running in my system. I am not able to connect to internet from Linux, but internet is working in windows 7 and suse. The service provider is qwest and they say that they do not support linux.
I want to ask about Kmail. I have Kmail from Mandriva. I use Kmail for My Email. And When I reply Message, I found some trouble.
Sending failed: Unknown error code 50. The message content was not accepted. The server responded: "5.7.1 Message refused by BannedWord check. This email has been rejected. The email message was detected as spam." Please send a full bug report at [URL]. The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder. This transport protocol was used: smtp.net
How to solve this email error I get when I try to send email via KMail.
I'm developing an application to monitorize the network interfaces plugged in my PC. I know that wireless interfaces are listed in /proc/net/dev, but I don't know how to identify a cellular NIC.Is there any virtual file in /proc that shows the cellular NICs in the system? Could I identify different cellular NICs looking at /dev/tty?
Bus 005 Device 005: ID 0af0:6971 Option Globetrotter HSDPA Modem
My Problem is following:
Output of /var/log/messages:
Code:
Jun 25 16:16:25 destination kernel: [29898.995150] usb 5-2: new full speed USB device using ohci_hcd and address 6 Jun 25 16:16:25 destination kernel: [29899.148020] usb 5-2: New USB device found, idVendor=0af0, idProduct=6971 Jun 25 16:16:25 destination kernel: [29899.148031] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
I live in Sweden and Denmark, and have a Swedish 3G internet provider called 3. They have a special roaming agreement with the Danish company named the same, so that I can surf for free both within the 3 net in Sweden and in Denmark. This has worked very smoothly until recently, when my modem connected to another company here in Denmark, and I was charged for the surfing per MB (a lot of money per MB, luckily I got a warning message in my browser and stopped).The company now says that they cannot block my modem from using all foreign networks except theirs, so they've blocked it from all surfing outside Sweden - which means I cannot surf in Denmark. If I was using Windows, their application however could block the unwanted networks...
But then I saw this field "Network" under "Advanced" in the Network Connections->Mobile Broadband box. What is that for? Can I tell it to connect only to e.g. networks called "3"? I've searched the net for any information about this textbox without success.I'm using Ubuntu 10.04 and the modem is a Huawei E122, which I've got to work with some usbmodeswitch fiddling.
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 ?
Why is pppoeconf not creating dsl-provider file in /etc/ppp/peers/ directory.I just re-installed Lucid and now facing above prob. I cannot even copy an dummy file to the above path (even using sudo)It does not give any error,but then file is also not copied. I observed after re-installing,old kernels are also visble and i can login in low graphics mode I expected that after fesh install,there would be only kernel..default one..
Today I have tested the networks at several schools in the area,and at the town hall. It is not possible to surf on www on any of these networks using a PC running Linux. My conclusion is that there has to be some kind of filtering of traffic that exclude PC's running Linux. From the same PC I can send and receive email, I can ping and trace (mtr) addresses on www, and I can view webpages that are on servers on the inside of the filtering-gateway. The filter used is InterScan Web Security Virtual Appliance from TrendMicro
I have also demonstrated for the admins at the town hall that using Linux-PC on a "clean" network, surfing is no problem. By doing these small tests I have demonstrated that Linux is not the problem.
Tomorrow I'm going to visit the network providers admins, so that they could see what happens when a PC running Linux tries to access www. What kind of things should I test to document, or find the problems? So far I have just used MTR to document slow respons, wget --no-proxy to document that www hangs and ends time out, ifconfig to show NiC settings, and route.. Could this be a problem with /etc/resolve.conf?
The network provider is the same company that refused to turn on IMAP on the exchange servers, resulting in 3 week without mail at our school. All the other schools had to upgrade Outlook in order to connect to the new exchange-server with MS MAPI settings. MS Gold partners are so nice...
Does anybody use successfully a broadband internet service on Fedora 10? I'm seriously thinking of buying a wireless card but don't know if it will be compatible.
I have tested the networks at several schools in the area,and at the town hall. It is not possible to surf on www on any of these networks using a PC running Linux. My conclusion is that there has to be some kind of filtering of traffic that exclude PC's running Linux.
From the same PC I can send and receive email,I can ping and trace (mtr) addresses on www, and I can view webpages that are on servers on the inside of the filtering-gateway. The filter used is InterScan Web Security Virtual Appliance from TrendMicro I have also demonstrated for the admins at the town hall that using Linux-PC on a "clean" network, surfing is no problem. By doing these small tests I have demonstrated that Linux is not the problem.
Tomorrow I'm going to visit the network providers admins, so that they could see what happens when a PC running Linux tries to access www. What kind of things should I test to document, or find the problems? So far I have just used MTR to document slow respons, wget --no-proxy to document that www hangs and ends time out, ifconfig to show NiC settings, and route...
The network provider is the same company that refused to turn on IMAP on the exchange servers, resulting in 3 week without mail at our school. All the other schools had to upgrade Outlook in order to connect to the new exchange-server with MS MAPI settings.
A few days ago I ordered a UMTS USB-stick from Fonic and I received a Huawei model E1550. Win and Mac install files are on the stick, but nothing for Linux. I found for the USB Modeswitch "drivers" at www.draisberghof.de/usb_modeswitsch/ (nothing about the program source on the producers web page - strange), but the install gave me a lot of errors, and after a while, I decide to find another "approach". I think you might find this useful. This is my approach for Ubuntu 10.4 LTS. Open your terminal and type:
Save and close. To setup you mobile broadband connection go to System / Preferences / Network Connections, (or type in terminal ~$ nm-connection-editor) select the Mobile Broadband Tab, Add new and follow the assistent. The only changes I made, are the country of the provider, and the provider. (In my case Germany, Fonic) If you have to type in the settings yourself for Fonic, visit [URL] If the device is plugged, it will connect after a few seconds.
i have a usb modem 3g huawei k3520 that is installed on FC13 minimal only shellli have see that my modem is config with dmesg ....
now i want to create a conection to my provider on boot ... can anyone help me find the files where i create my conection and how can i make my modem to conect autom on boot...???? i m newbie and i don t no very well the shell....
I tried many example in Eurane (UMTS) But I did not see packets exchange between user elements and UMTS base station? does any body know why? I have the NAM 1.14 version.I have installed EURANE well and it works fine , but the problem when I want to visualize the packets animation by NAM ($nam out.nam) the UMTS packets do not show, and it is order to say that the wi-fi packets shows very well in the same file (my scripts is to show the handover between UMTS and wifi) also the packets show very well in the wire parts of my topology.
I tried to build a PPP connection with umtsmon, but failed. I'm using a ZTE MF110 Stick. The reaction from my provider's support was succinct: "Linux untersttzen wir nicht." (We don't support Linux.)
The hardware seems to work fine, the stick shows a green light, and I sent a test SMS via umtsmon. The umtsmon interface successfully identifies my Provider, but does not connect.
Here is part of umtsmon debug output:
Code: UIState::setState(6 -> 6) ##P4 t=133: ConnectionInfo:InhibitionCount ++, now is 1 ##P3 t=133: TempSerialPort::TempSerialPort() ##P5 t=133: 0x75a6c0 = Query::setSerial(0x7fffece12a00) ##P3 t=134: Serial::openDev('/dev/ttyUSB2') as FD 8 - Serial instance
Some month ago i bought a UMTS / HSDPA Stick "HUAWEI Mobile Connect E160". I worried about getting it running with Ubuntu, but it was freaking easy to get it running. Even less complicated than installing the same device with windows.
It worked some month without any problem and then suddenly, didnt work any more. If i plug the device to my laptop (lenovo x61) unter linux now, i still can click to start the mobile broadband, it trys to connect some time, but shows "disonnected" at the end (dont know the exact message in englisch, because i use german language prompts). The same device still works fine with same hardware with windows vista at all 3 usb ports. I deleted the mobile broadband settings couples of times and made a new one, without any effect to the behavior.
i have successfully installed debian 8 stable, but the USB stick doesn't pick up Globe UMTS signal, i can make a new Mobile Broadband onnection with no problems though..i don't know whats wrong but with my current debian jessie testing PC, i can connect to the USB stick for internet with no problem
i tried installing a guest debian jessie testing with virtual box, but still the USB stick can't pick up the Globe UMTS signal, even if i enable the USB stick in virtual box
I'm going to an area with no wired internet connection so I would gather information on if it is possible and how to make working the following configuration for an home network:
a wireless access point connected to a laptop (an old one with a centrino Duo) with a usb stick for UMTS connection to the internet it is possible to use the laptop for routing to the internet the requests (http, ftp, mail etc..) of the PC connected to the home LAN which software have I to install on the laptop?
I have Centos 5.5 running on this laptop but can't get gobi_loader(loads firmware onto the 3g device and then you can use wvdial) working on kernel 2.6.18-194.11.1.el5 (x86_64). lsusb shows the Gobi device but gobi_loader uses /dev/ttyUSB0 which doesn't exist.
My two machines are both running Ubuntu 10.10. I want to transfer program files between them using a local area network.
My Ubuntu machines can both see the Window machines on the network, and get files from them. But my Ubuntu machines do not detect each other as being on the network. Nor can my Windows machines detect my Ubuntu machines.
From what I can tell, that's normal, and I've become resigned to using a pendrive to transfer files between the two machines. Or even sending files as email attachments.
there is a clean and easy way to transfer files between two Ubuntu machines on the same local area network.
I want to send raw data to a usart port of my board connected to linux box. i know the command
echo "abcxyz" > /dev/<usb_dev_file_name>
would write the raw bits for characters abcxyz to the usb device but the problem is how do i know which device file to write to?there are so many in my /dev.
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.