Page 1 of 1

Get UMTS or HSDPA status from bash

Posted: Sat Apr 21, 2012 10:46 pm
by vikoadi
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.

Re: Get UMTS or HSDPA status from bash

Posted: Mon Apr 23, 2012 3:39 am
by Oscar799
Moved here by moderator

Re: Get UMTS or HSDPA status from bash

Posted: Mon Apr 23, 2012 5:29 am
by AlbertP
Does ifconfig in terminal show any difference? You can do ifconfig | grep if you want to use one line of the output.