Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]tethering displays 'sit0' interface
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
TwiNight
n00b
n00b


Joined: 10 Nov 2011
Posts: 4

PostPosted: Fri Nov 11, 2011 2:33 pm    Post subject: [SOLVED]tethering displays 'sit0' interface Reply with quote

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? i read a few posts regarding sit0 but none of them solves my problem as to how should I connect to the internet, using tethering under such condition.


Last edited by TwiNight on Mon Nov 14, 2011 1:58 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31342
Location: 56N 3W

PostPosted: Sat Nov 12, 2011 11:09 am    Post subject: Reply with quote

TwiNight,

sit0 is a ipv6 over ipv4 tunnel end point. Its safe to ignore it if you don't know what its for.
You get it for free if you turn on the kernel IPv6 option.

Android devices need the following kernel options on in your kernel
Code:

<M> USB Serial Converter support  --->
<M>USB driver for GSM and CDMA modems

and
Code:
<M> USB Gadget Support  --->
<M>     Ethernet Gadget (with CDC Ethernet support)                            │ │ 
  │ │         [*]       RNDIS support (NEW)                                                  │ │ 
  │ │         [*]       Ethernet Emulation Model (EEM) support

I prefer modules but built in should work too.

Rebuild and reinstall your kernel then boot into your new kernel. Do check the kernel build time after your reboot, using
Code:
uname -a


You will also need dhcpcd, to assign a dynamic IP address to your new usb0, which you probably have already.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
TwiNight
n00b
n00b


Joined: 10 Nov 2011
Posts: 4

PostPosted: Mon Nov 14, 2011 1:57 am    Post subject: Reply with quote

NeddySeagoon wrote:
TwiNight,

sit0 is a ipv6 over ipv4 tunnel end point. Its safe to ignore it if you don't know what its for.
You get it for free if you turn on the kernel IPv6 option.

Android devices need the following kernel options on in your kernel
Code:

<M> USB Serial Converter support  --->
<M>USB driver for GSM and CDMA modems

and
Code:
<M> USB Gadget Support  --->
<M>     Ethernet Gadget (with CDC Ethernet support)                            │ │ 
  │ │         [*]       RNDIS support (NEW)                                                  │ │ 
  │ │         [*]       Ethernet Emulation Model (EEM) support

I prefer modules but built in should work too.

Rebuild and reinstall your kernel then boot into your new kernel. Do check the kernel build time after your reboot, using
Code:
uname -a


You will also need dhcpcd, to assign a dynamic IP address to your new usb0, which you probably have already.


I tried this. Didn't work for me. Then I tried the recommendations in the following posts. Not sure which one did the job, but I got the tethering to work at last

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

https://forums.gentoo.org/viewtopic-t-901542.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum