LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   tethering displays 'sit0' interface (https://www.linuxquestions.org/questions/gentoo-87/tethering-displays-sit0-interface-913105/)

sudeepkulkarni 11-11-2011 10:38 PM

tethering displays 'sit0' interface
 
When I booted into my newly installed Gentoo system and tried tethering the android device to the computer, I noticed that

Code:

ifconfig -a
command display sit0 interface.

It should have displayed usb0.

What should I do?

i92guboj 11-12-2011 02:05 AM

I am not sure what are you trying to do. Are you wanting to attach the android toy to your pc using an usb cable or what? I don't know much about android yet, besides it's linux and they use it in mobile phones.

sitN are point-to-point tunnel interfaces, used mostly for encapsulating ipv6 traffic into ipv4.

sudeepkulkarni 11-12-2011 02:46 AM

Quote:

Originally Posted by i92guboj (Post 4522023)
I am not sure what are you trying to do. Are you wanting to attach the android toy to your pc using an usb cable or what? I don't know much about android yet, besides it's linux and they use it in mobile phones.

sitN are point-to-point tunnel interfaces, used mostly for encapsulating ipv6 traffic into ipv4.

Yes, that's exactly what I am trying to do. I am using USB cable to connect my android phone to the computer, enable tethering in the phone, in order to connect to the internet.

That is the method how I installed Gentoo in the first place. I booted up live CD, connected the device using USB cable and enabled tethering. Then
Code:

ifconfig -a
showed me the usb0 interface. Then I connected using
Code:

dhcpcd usb0
.

As I am not able to get the usb0 interface, instead I get [b]sit0[/code]. So there must be something missing from my newly installed system (I think).

Is this much information sufficient?

i92guboj 11-12-2011 05:06 AM

Quote:

Originally Posted by sudeepkulkarni (Post 4522043)
Yes, that's exactly what I am trying to do. I am using USB cable to connect my android phone to the computer, enable tethering in the phone, in order to connect to the internet.

That is the method how I installed Gentoo in the first place. I booted up live CD, connected the device using USB cable and enabled tethering. Then
Code:

ifconfig -a
showed me the usb0 interface. Then I connected using
Code:

dhcpcd usb0
.

As I am not able to get the usb0 interface, instead I get [b]sit0[/code]. So there must be something missing from my newly installed system (I think).

Is this much information sufficient?

I am not familiar with this functionality, but I guess the problem could be some missing driver in your kernel. Did you configure your kernel by hand?

In any case, you should double check that you have actually selected the relevant options in your kernel. I just found this, which might come in handy for you:

http://forums.gentoo.org/viewtopic-t-843255.html

sudeepkulkarni 11-13-2011 07:53 PM

Finally, Problem solved. The following posts helped me solve the problem. I am not sure which combination of configuration options did the job, since I enabled them all. For future reference, if anyone reads this post, I recommend following links (Necessarily go through ALL THE POSTS in a single topic)

http://forums.gentoo.org/viewtopic-t-843255.html

http://forums.gentoo.org/viewtopic-t-901542.html


All times are GMT -5. The time now is 04:18 AM.