No we are up against something else, we have to assume the modem is really communicating on ttyUSB2, this is where we want to be eventually anyway
A bit more elaboration, we know that ttyUSB0..3 exists, now if you look at the red echo line in my post above, you will notice that in the first section, the command breaks up when the !
is reached, and this depends on what position and nearest neighbours it has. Put it like this if the line breaks up there is no way that the modem can get the right message, the AT sequences are very unforgiving (famous "trust me", I have sweated over them back in the landline modem days
This is why I am at pains to get not only the characters right also the individual bits if needed add to that the wireless AT sets are completely new to me so I have my work cut out.
My consolation is that to a degree I am a Wireless enthusiast, well when I am not doing other things like linux work. I am seriously considering buying one of these 320U just to play with, we will see. derekf
Back to work, I would still like to see the output of the cat /home/derek/Desktop/connect320.sh*
Copy past this to root konsole:To connect the Sierra 320U
echo -e "AT\041SCACT=1,2\r" >/dev/ttyUSB2
If that works we will work backwards into the script again. I understand the problem now with the command.
If any message shows here then post To disconnect the Sierra 320U
echo -e "AT\041SCACT=0,2\r" >/dev/ttyUSB2