Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
got "link is not ready" when trying to do usb tethering
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 263

PostPosted: Sun Aug 30, 2015 12:48 pm    Post subject: got "link is not ready" when trying to do usb teth Reply with quote

My Gentoo is 64bit, kernel version 4.+. I have compiled my kernel following https://wiki.gentoo.org/wiki/Android_USB_Tethering, with RNDIS support.

After I compiled the kernel, installed the modules, and reboot, I am able to see the "usb0" device using "ip addr", and I can connect to the network successfully using usb tethering.

But after reboot, I can still see the "usb0" device, but I got "link is not ready" in dmesg, and I cannot connect to the network.

I have tried re-plugin, disable then enable tethering, but still does not work.
_________________
David Shen
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Aug 30, 2015 1:08 pm    Post subject: Reply with quote

davidshen84,

How does usb0 get its setup?

Is it still usb0 after a reboot or has udev renamed it?
_________________
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
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 263

PostPosted: Mon Aug 31, 2015 12:28 pm    Post subject: Reply with quote

After reboot, it is still called "usb0". I did not do any particular configuration to use "usb0" to connect to the network the first. Everything was done automatically.

I suspect it has something to do with my Windows machine. The "usb0" failed to work after I connected my phone to a Windows machine and used tethering. But I have no idea why could Windows affect the tethering configuration. Maybe I am wrong.
_________________
David Shen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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