Get UMTS or HSDPA status from bash

Forum rules
Before you post please read this

Get UMTS or HSDPA status from bash

Postby vikoadi on Sat Apr 21, 2012 10:46 pm

I want to create a bash script that will reconnect when my connection goes to UMTS instead of HSDPA
i have done some script that will reconnect with nmcli but i can't get my modem UMTS or HSDPA status to break the loop.

Can someone help me find the tool?
I'm sure its possible because i've seen HSDPA/UMTS status in xfce network manager.

other solution other than bash and nmcli are welcome

thanks in advance.
vikoadi
Level 1
Level 1
 
Posts: 1
Joined: Tue Apr 17, 2012 5:24 am

Linux Mint is funded by ads and donations.
 

Re: Get UMTS or HSDPA status from bash

Postby Oscar799 on Mon Apr 23, 2012 3:39 am

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8852
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Get UMTS or HSDPA status from bash

Postby AlbertP on Mon Apr 23, 2012 5:29 am

Does ifconfig in terminal show any difference? You can do ifconfig | grep if you want to use one line of the output.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6517
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands


Return to Scripts & Bash

Who is online

Users browsing this forum: No registered users and 2 guests