LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2014, 06:31 AM   #1
skoda
Member
 
Registered: Jun 2013
Posts: 111

Rep: Reputation: Disabled
sakis3g Connection problem


Hello,

i have successfully connected to my 3g net work via sakis3g using the huwai 3g usbmodem. but pages are not coming.

here are the connection stats

Quote:
ppp0 Link encap:Point-to-Point Protocol
inet addr:176.225.173.60 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:141 errors:1 dropped:0 overruns:0 frame:0
TX packets:155 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:11194 (10.9 KiB) TX bytes:12398 (12.1 KiB)

Connection Information ↑
│ ▮
│ Interface: P-t-P (ppp0) ▒
│ ▒
│ Connected since: 2014-01-20 05:02 ▒
│ Kilobytes received: 0 ▒
│ Kilobytes sent: 0 ▒
│ ▒
│ Network ID: 42003 ▒
│ Operator name: mobily ▒
│ APN: web2 ▒
│ ▒
│ Modem: E180 ▒
│ Modem type: USB ▒
│ Kernel driver: option ↓
btw, my /etc/resolve.conf is empty.
also sakis3g does not accpet blank username and password.
so i had to type username for username and pass for password.
 
Old 01-21-2014, 09:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,787

Rep: Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207
Quote:
Originally Posted by skoda View Post
Hello,
i have successfully connected to my 3g net work via sakis3g using the huwai 3g usbmodem.
Huh...as of a couple days ago in your other thread, you said you weren't able to install the usb_modeswitch program, which would have prevented you from connecting.
Quote:
but pages are not coming.here are the connection stats

btw, my /etc/resolve.conf is empty. also sakis3g does not accpet blank username and password. so i had to type username for username and pass for password.
You don't give us any details here...what version/distro of Linux are you using? What have you done/tried? Can you ping anything on the internet, like "ping www.google.com"?? "ping 8.8.8.8"?? Results?

If your resolv.conf is empty, you don't have any way to resolve hostnames, since you're not pointed to any DNS servers. If you can ping addresses, you just need to populate your resolv.conf with whatever your provider tells you to.
 
Old 01-21-2014, 09:32 AM   #3
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Huh...as of a couple days ago in your other thread, you said you weren't able to install the usb_modeswitch program, which would have prevented you from connecting.

You don't give us any details here...what version/distro of Linux are you using? What have you done/tried? Can you ping anything on the internet, like "ping www.google.com"?? "ping 8.8.8.8"?? Results?

If your resolv.conf is empty, you don't have any way to resolve hostnames, since you're not pointed to any DNS servers. If you can ping addresses, you just need to populate your resolv.conf with whatever your provider tells you to.
Hai tbOne,

i am on centos 6.5.

huh, you remember my other threads a

i found on a google search that we must supply a user name and password for sakis3g to connect.
all this days i was trying blank user name and pass. so it is saying "failed to connect". last night i tried with
username = username and password=pass and it connected.

any way without modeswitch installed, it connects. i was using the built in switch modem function in sakis 3g. may be that had actually switched the modem from cd mode. any way, ill try the suggestion in other thread.

could you kindly tell the format in which i should add the dns server address 8.8.8.8 (which is google's i think) to /etc/resolve.conf ?
 
Old 01-21-2014, 02:07 PM   #4
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Thank you for your support.

DNS is the problem. i have added nameserver 8.8.8.8 to resolv.conf and net connection works charm and infact i am posting this reply from my centos lap

also i think i did not even need usbmodeswitch at all. becase sakis seems to be switch the modem automatically.

bye.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
--sakis3G-- and auto reconnect to 3G network vitoacmm Linux - Software 6 07-03-2015 09:17 AM
[SOLVED] Problem with sakis3g h.adittya Slackware 4 01-20-2014 05:54 AM
PowerPack 2010.2 and sakis3g mandrivaFan Mandriva 1 09-24-2012 10:28 AM
connection through sakis3g problem magicalshashank31 Programming 1 09-25-2011 06:14 PM
LXer: Mobile Broadband Internet connection and Sakis3G LXer Syndicated Linux News 0 03-10-2011 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:26 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