Alcatel One Touch X220S

For discussing Linux compatible (or not) devices

Moderators: ChrisThornett, LXF moderators

Alcatel One Touch X220S

Postby Birdman » Thu Sep 02, 2010 9:56 pm

This is my first venture with mobile broadband and I am about to give up. I have an Alcatel One Touch X220S on the Virginmobile network and I believe I have done everything necessary to get connected. I now cannot decide whether some of the configuration is incorrect or it simply doesn't work properly?

The story:

When first plugged in the dongle it showed as a storage device as 1bbb:f000. After unmounting the device it changes to 1bbb:0017. I later discovered from the user_modeswitch forum that the device had actually switched at this point and was now ready for action.

I initially tried useing wvdial and after trial and error appeared to have a connection i.e. no apparent errors and a solid light on the dongle (more later). However, I could not load any web pages - just error messages! I then remembered the LXF113 article and that motivated me to try kppp. This was good because of the useful display giving some information about the connection. Sure enough I connected and peeked at 5kb/sec. It took about a minute to load the google home page - not great but a result! I disconnected and tried again but it wouldn't work and kppp kept locking up. It was late so I turned off the box for the night. Following day I got connected with kppp (apparently) with a data rate of 1kb/sec and no response from firefox. I had a steady light on the dongle but no data. I then went back to wvdial and got a solid light on the dongle - but no data.

Lights on dongle:

The booklet gives the following posibilites:
Blue Modem is on
Green and orange Alternate blinking Searching for network
Green Registered HSPA/UMTS
Orange Registered GPRS/EDGE

I have never seen a blue light. If the PC is turned of with the dongle plugged in I get an orange light. When turned on it can flash either green, orange or RED. When I have an apparent connection it is either solid red or green (but not orange).

Given the absence of red in their note and my absence of blue in use I do not know what to think.

I am using LInux Mint Isadora KDE. Here is one of my sample wvdial.conf files that appears to connect:
Code: Select all
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","goto.virginmobile.uk"
Modem Type = /dev/gsmmodem
ISDN = 0
Phone = *99#
New PPPD = yes
Modem = /dev/gsmmodem
Username = user
Password = blank
Baud = 9600
Stupid Mode = on


This is the output:
Code: Select all
--> WvDial: Internet dialer version 1.60
--> Can
not get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","goto.virginmobile.uk"
AT+CGDCONT=1,"IP","goto.virginmobile.uk"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 115200
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Sep  2 22:12:35 2010
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 2361
--> Using interface ppp0
--> pppd: (��[08]@��[08]ț�[08]
--> pppd: (��[08]@��[08]ț�[08]
--> pppd: (��[08]@��[08]ț�[08]
--> pppd: (��[08]@��[08]ț�[08]
--> pppd: (��[08]@��[08]ț�[08]
--> pppd: (��[08]@��[08]ț�[08]
--> local  IP address 10.220.159.140
--> pppd: (��[08]@��[08]ț�[08]
--> remote IP address 10.64.64.64
--> pppd: (��[08]@��[08]ț�[08]
--> primary   DNS address 149.254.192.126
--> pppd: (��[08]@��[08]ț�[08]
--> secondary DNS address 149.254.201.126
--> pppd: (��[08]@��[08]ț�[08]

Should I give up or is there still hope?

PS. there are a couple of virgin mobile phones in the house and the signal is good.

Alan
Birdman
LXF regular
 
Posts: 145
Joined: Thu May 05, 2005 11:59 am
Location: Wallington, Surrey UK

Postby PCNetSpec » Thu Sep 02, 2010 10:57 pm

-->Warning: Could not modify /etc/ppp/pap-secrets: Permission denied

Looks like a permission problem to me, are you running wvdial as root:
Code: Select all
sudo wvdail
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
User avatar
PCNetSpec
LXF regular
 
Posts: 631
Joined: Sun Feb 21, 2010 3:50 pm
Location: Cornwall UK

Postby Birdman » Fri Sep 03, 2010 4:27 pm

Good point. I did initially run as root, because wvdial would not work as user. I noted that wvdial is a member of the dip group and added the group to the member permissions so that I could run wvdial as a user.

The next question is whether I should be running wvdial as root? Is this a security risk? If so then are there other permission amends that can be made to allow a user to run wvdial?

Interestingly kppp is launched as a user and doesn't need root permissions. Mind you I can't get a decent connection with that either!
Birdman
LXF regular
 
Posts: 145
Joined: Thu May 05, 2005 11:59 am
Location: Wallington, Surrey UK

Postby PCNetSpec » Fri Sep 03, 2010 5:12 pm

I suppose you could create a group called something like 'dialout', then change the permissions of your /etc/ppp/pap-secrets and /etc/ppp/chap-secrets to allow everyone from the group 'dialout' to be able to read/write to them, then add yourself to that group.

But I would just run wvdial with root privileges with sudo.

Not a security risk as sudo is *only* giving the *dialer* root access.

Switching user to root with su, then running wvdial on the other hand may be a security risk... never really thought about it.
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
User avatar
PCNetSpec
LXF regular
 
Posts: 631
Joined: Sun Feb 21, 2010 3:50 pm
Location: Cornwall UK

Postby Birdman » Fri Sep 03, 2010 9:05 pm

Running as root makes no difference. Looking at the syslog suggests that the IP address cannot be determined:
Code: Select all
Sep  3 21:44:02 boris pppd[2149]: Cannot determine ethernet address for proxy ARP
It then assigns a default address. This is inconsistent with the output from wvdial.
Birdman
LXF regular
 
Posts: 145
Joined: Thu May 05, 2005 11:59 am
Location: Wallington, Surrey UK


Return to Hardware

Who is online

Users browsing this forum: Google [Bot] and 0 guests