LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2011, 06:58 PM   #1
newville1975
LQ Newbie
 
Registered: Jan 2011
Location: Michigan
Distribution: Ubuntu,ferdora,open suse
Posts: 4

Rep: Reputation: 0
Question Problem getting easytether working right


I installed the pack and ran the commands and it showed it connected. I closed the terminal windows. And went to firefox unchecked work offline but firefox will not reconized easytether connection.
 
Old 01-23-2011, 05:00 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
What operating system ?
your name has "Ubuntu,ferdora,open sose"
and suse spelled wrong

and what version of it ?
Quote:
I installed the pack and ran the commands
what "pack" ?
what commands ?

for some things you need to
log out and back in
or
reboot
 
Old 01-23-2011, 08:35 AM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I wrote a very basic thread on automating the easytether connection between a smartphone and a Linux computer. Maybe you'll find it useful: Automated smartphone network connection with easytether

Regarding your problem specifically, it sounds like you've installed the easytether app on your phone, turned on USB debugging, and downloaded the easytether drivers/package for your distribution (whichever that may be). One thing you must keep in mind is, you run two terminal-based commands: easytether connect and sudo dhclient easytether0. You must leave the terminal running for the easytether connect command. So, your problem may be caused by the fact that:
Quote:
Originally Posted by newville1975
I closed the terminal windows.
Don't do that. You need to leave the terminal open unless you do something special--beyond what the easytether developers tell you as part of their getting started instructions. Again, refer to my linked post above if you would like to see one possibility of setting up a network connection "hands free" so to speak whenever you plug in your phone.

EDIT:
I'm connected to LQ.org over an easytether connection right now, and I have been using it for my Internet connection exclusively for months.

Last edited by Dark_Helmet; 01-23-2011 at 08:38 AM.
 
Old 01-24-2011, 09:11 PM   #4
newville1975
LQ Newbie
 
Registered: Jan 2011
Location: Michigan
Distribution: Ubuntu,ferdora,open suse
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for your input. I will try to do what you guys suggested and get back with you.
 
Old 01-28-2011, 10:31 PM   #5
newville1975
LQ Newbie
 
Registered: Jan 2011
Location: Michigan
Distribution: Ubuntu,ferdora,open suse
Posts: 4

Original Poster
Rep: Reputation: 0
Ok I am running "Ubuntu 10.10" I installed pack "easytether-0.7.0_amd64.deb".



In the first terminal.


edwin@edwin-Pc2:~$ easytether enumerate
D700d76073b3
edwin@edwin-Pc2:~$ easytether connect
connection established
run 'sudo dhclient easytether0' to configure the network interface
press Ctrl-C to disconnect
edwin@edwin-Pc2:~$


In the second terminal




edwin@edwin-Pc2:~$ sudo dhclient easytether0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

\Listening on LPF/easytether0/02:00:54:74:68:72
Sending on LPF/easytether0/02:00:54:74:68:72
Sending on Socket/fallback
DHCPDISCOVER on easytether0 to 255.255.255.255 port 67 interval 3
DHCPOFFER of 192.168.117.2 from 192.168.117.1
DHCPREQUEST of 192.168.117.2 on easytether0 to 255.255.255.255 port 67
DHCPACK of 192.168.117.2 from 192.168.117.1
chown: failed to get attributes of `/etc/resolv.conf': No such file or directory
chmod: failed to get attributes of `/etc/resolv.conf': No such file or directory
bound to 192.168.117.2 -- renewal in 2147483647 seconds.
edwin@edwin-Pc2:~$ \


I hope this will give more info on how to fixed this problem I get this far and I look an made sher that work offline was unchecked and firefox is still not working

sorry guy that it took some time to back with you I work alot of hours .
 
Old 01-28-2011, 10:52 PM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by newville1975
chown: failed to get attributes of `/etc/resolv.conf': No such file or directory
chmod: failed to get attributes of `/etc/resolv.conf': No such file or directory
This is probably the problem. Why do you not have an /etc/resolv.conf file? I've run an Ubuntu 10.10 system, and I'm certain that machine had a copy of that file.

The /etc/resolv.conf file is just a plain text. You can recreate it with:
Code:
sudo touch /etc/resolv.conf
sudo chown root:root /etc/resolv.conf
sudo chmod 644 /etc/resolv.conf
Then run the sudo dhclient easytether0 command. The contents of /etc/resolv.conf will be updated/modified by the dhclient program.

Lastly, I hope this is just a copy-paste error, but you should not get a command prompt after you run easytether connect.
Code:
edwin@edwin-Pc2:~$ easytether connect
connection established
run 'sudo dhclient easytether0' to configure the network interface
press Ctrl-C to disconnect
edwin@edwin-Pc2:~$
You should not see the text in red and you should certainly not press "Ctrl-C" unless you want to sever the connection between your computer and the phone.
 
Old 01-28-2011, 11:51 PM   #7
newville1975
LQ Newbie
 
Registered: Jan 2011
Location: Michigan
Distribution: Ubuntu,ferdora,open suse
Posts: 4

Original Poster
Rep: Reputation: 0
ok Dark_Helmet I did that and I got this.


edwin@edwin-Pc2:~$ sudo dhclient easytether0
[sudo] password for edwin:
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/easytether0/02:00:54:74:68:72
Sending on LPF/easytether0/02:00:54:74:68:72
Sending on Socket/fallback
DHCPREQUEST of 192.168.117.2 on easytether0 to 255.255.255.255 port 67
DHCPACK of 192.168.117.2 from 192.168.117.1
bound to 192.168.117.2 -- renewal in 2147483648 seconds.
edwin@edwin-Pc2:~$


Then I made sher that "offline was unchecked still" and I tride going to www.yahoo.com and firefox is showing that it "can't find a connection".
 
Old 01-29-2011, 12:58 AM   #8
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Ok, post the output of these commands for me:
  1. Code:
    ifconfig
  2. Code:
    cat /etc/resolv.conf
  3. Code:
    cat /etc/nsswitch.conf | grep hosts
  4. Code:
    dig +short www.yahoo.com
  5. Code:
    dig @8.8.8.8 +short www.yahoo.com

EDIT:
Of course, make sure that you run those commands after you've connected and run dhclient.

Last edited by Dark_Helmet; 01-29-2011 at 01:02 AM.
 
  


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
Automated smartphone network connection with easytether Dark_Helmet LinuxQuestions.org Member Success Stories 8 11-22-2010 05:20 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 09:06 AM
How this program is working ? C - Problem indian Programming 2 10-07-2005 04:22 PM
SNAT working problem(is that configuration problem?) cranium2004 Linux - Networking 11 05-12-2005 09:18 AM
Problem getting 2 NIC's working campo Linux - Networking 9 01-30-2003 02:24 PM


All times are GMT -5. The time now is 09:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration