LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   problem in connecting net through wireless data card (https://www.linuxquestions.org/questions/linux-wireless-networking-41/problem-in-connecting-net-through-wireless-data-card-559871/)

ravikumarv 06-07-2007 05:50 AM

problem in connecting net through wireless data card
 
Hi All,

I've just joined in this forums and i'am facing the follwoing problem.

I'm trying to connect internet through wireless data card (Huawei ECXXX) from my laptop , fedora core 5 was installed in it.

After device was detected,
i've load the driver using modprob

# modprobe usbserial vendor=0x12d1 product=0x1001

driver was also loaded properly.

Next i've edited the file /etc/wvdial.conf with the following entries

# emacs /etc/wvdial.conf
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer cdma]
Username = Phone Number
Password = Phone Number
Phone = #777
Stupid Mode = 1
Inherits = Modem0


After that

#wvdial cdma
> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Mar 3 22:55:20 2007
--> Pid of pppd: 24314
--> Using interface ppp0
--> local IP address 220.226.50.126
--> remote IP address 97.239.2.10
--> primary DNS address 202.138.103.100
--> secondary DNS address 202.138.96.2

Till now everything is fine.

But i'm not able to connect to net.

Do i need to install wireless card driver.

#iwconfig command was not showing any driver installed


Please help me.
Thanks
--ravi

St.Jimmy 06-07-2007 10:56 PM

wrong forum, reported for a move.

Mara 06-08-2007 03:20 PM

Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

I guess wireless means GPRS/EDGE/CDMA/UMTS here. You don't need any other driver, just the correct setup or ppp. From the messages you show it looks it dials correctly, even DNSes are set. Test the following:
Try to ping the DNS server:
ping 202.138.103.100
If it works, you're online. You may want to look into /etc/resolv.conf to see if the addresses were written to the file.

There's also one simple thing that may be wrong here. Routing. Run the 'route' command and look at the output. You should have an entry with 'default' in the first column and 'ppp0' in the last. If it's missing, run
route add default ppp0
(just for testing, you'd need to add it later to the configuration, but first check if that fixes the issue)

ravikumarv 06-11-2007 01:47 AM

Quote:

Originally Posted by Mara
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

I guess wireless means GPRS/EDGE/CDMA/UMTS here. You don't need any other driver, just the correct setup or ppp. From the messages you show it looks it dials correctly, even DNSes are set. Test the following:
Try to ping the DNS server:
ping 202.138.103.100
If it works, you're online. You may want to look into /etc/resolv.conf to see if the addresses were written to the file.

There's also one simple thing that may be wrong here. Routing. Run the 'route' command and look at the output. You should have an entry with 'default' in the first column and 'ppp0' in the last. If it's missing, run
route add default ppp0
(just for testing, you'd need to add it later to the configuration, but first check if that fixes the issue)

Yes, i dont have entires in the /etc/resolv.conf and in the route command.
After resolving these two issues i'm able connect to net.

Thanq Mara

cbhaumik 06-20-2007 01:46 PM

You have to make ppp0 as the default route path.

One bad way to do is to deactivate other interfaces. Otherwise make your local ip and interface ppp0 the default gateway by using route command.

Regards,

Chirabrata


All times are GMT -5. The time now is 10:19 PM.