Showing posts with label Fedora. Show all posts
Showing posts with label Fedora. Show all posts

Sunday, June 24, 2007

Eureka !!! Connecting to m1 3g vodafone modem in fedora7

Finally I managed to get my m1 3gsm modem working with my vaio fedora 7. This is the procedure I used for got it working.
My system is: Linux 2.6.21-1.3194.fc7 (fedora 7)
Wvdial version : WvDial 1.54.0

1) Create the following wvdial.conf
[Dialer Defaults]
Phone = *99#
Username = ppp@aplus.at
Password = ppp
Stupid Mode = 1
Dial Command = ATDT

[Dialer pin]

Init2 = AT+CPIN=5623

[Dialer A1]
Modem = /dev/ttyUSB0
Baud = 460800
Init3 = at+cgdcont=1,"ip","sunsurf"
ISDN = 0
Modem Type = Analog Modem


2) Then connect your vodafone mobile usb modem. (HUAWEI)
3) Wait till it is detected properly. (You can see logs from /var/log/messages)
4) Try to connect using wvdial.
wvdial --config wvdial.conf A1

For me it fails always like this
--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.


4) Don't worry about that. Apply the following commands
modprobe uhci_hcd ehci_hcd ppp
modprobe usbserial vendor=0x12d1 product=0x1003
rmmod usb-storage


5) Now remove the usb modem again and plug in back.
6) Wait till it is detected and try the following command again.
wvdial --config wvdial.conf A1

This time you should be able to shout "Eureka!!".
You should get the following message

[root@localhost linux-scripts]# wvdial --config wvdial.conf A1
--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: at+cgdcont=1,"ip","sunsurf"
at+cgdcont=1,"ip","sunsurf"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun Jun 24 11:03:33 2007
--> pid of pppd: 5255
--> Using interface ppp0
--> local IP address 172.22.33.177
--> remote IP address 10.64.64.64
--> primary DNS address 10.11.12.13
--> secondary DNS address 10.11.12.14


Sorry I forgot one thing, You have to be a super user for doing this.

Hope you succeed on this. Else try plug it in back. It will work for sure.

Cheers!
References
1) Linux HSDPA Modem Huawai E220 with Gentoo (Provider: Ausrian A1) - QuirxiPedia
2) Vodafone 3G (UMTS) Howto

Saturday, June 9, 2007

"Flying High" Fedora 7

I upgraded my fedora 6 to fedora7 one week ago. There are lot of new features including the gnome 2.18 which is a better one for personal usages.Please refer release notes for further details.

Upgrade procedure is also very safe and easy. I first downloaded the ISO DVD image from here. Then burnt a DVD and upgraded my fedora6 straight away. I took the risk by not getting any backups before doing it. For downloading ,they are recommending bittorrent, It was very slow by that time(Probably I did the download soon after the release and very few in my closer region must have been using it.) , so I used the ftp instead.


This time fedora is promoting the "Flying High" theme contrast to their earlier themes.

They shipped FireFox 2.0 with this release where in fedora6 they didn't recommend to use FireFox2.0. There are lot other features like SE LINUX GUI, mplayer supports, pidgin(former gaim) etc.

I am still struggling to following things and still working on it.

1) For my VAIO FE35GP model, I could not get my in-build wifi working.
2) Motion-eye camera is not working.
3) I am using m1-vodafone 3G usb modem , which is not working in fedora.

All over fedora 7 is looking good and it has lot of applications shipped with, which good for people who use fedora as their personal OS.

Cheers