LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-07-2007, 05:50 AM   #1
ravikumarv
LQ Newbie
 
Registered: Jun 2007
Posts: 27

Rep: Reputation: 15
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
 
Old 06-07-2007, 10:56 PM   #2
St.Jimmy
Member
 
Registered: Jun 2006
Location: Boaz,Alabama
Distribution: Ubuntu 10.10 / Windows 7 Pro 64-Bit / Snow Leopard 10.6.4 64-Bit
Posts: 152

Rep: Reputation: 30
wrong forum, reported for a move.
 
Old 06-08-2007, 03:20 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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)
 
Old 06-11-2007, 01:47 AM   #4
ravikumarv
LQ Newbie
 
Registered: Jun 2007
Posts: 27

Original Poster
Rep: Reputation: 15
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
 
Old 06-20-2007, 01:46 PM   #5
cbhaumik
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unbuntu connecting to the net via wireless card ant1966 Linux - General 1 07-28-2006 10:52 AM
Wireless PCMCIA net card flem1968 Linux - Wireless Networking 3 02-08-2005 09:59 AM
Wireless Card Problem Connecting On Boot FC3 mrsmiley Linux - Wireless Networking 1 02-03-2005 10:12 AM
strange things connecting to wireless net hostprotect Linux - Wireless Networking 2 11-18-2004 04:16 AM
Connecting to Net with Surecom Network card and Linksys Router? EpicLinux Linux - Newbie 0 10-28-2003 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration