<div dir="ltr"><div><div>Thanks but I think I did not quite get the message accross.
The problem is not my phone as a storage device. The storage I can
access. The problem is that it no longer functions as a working network
device. And it appears to be working - the computer does get an ip
address from the phone - but i can not get any data accross the link. <br><br></div>for
now I am just using the phone as a wifi hotspot to solve the problem.
Which is ok if I have connection to the charger, and not ok if I have to
work on battery power.<br><br></div>Donatas G.<div class="gmail_extra"><br><div class="gmail_quote">2015-12-18 10:36 GMT+02:00 Bill Vance <span dir="ltr"><<a href="mailto:kbun@xpresso.seaslug.org" target="_blank">kbun@xpresso.seaslug.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
I hate it word wrap when it does this. See corrected script<br>
below.<span class=""><br>
<br>
On Thu, 17 Dec 2015, Bill Vance wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
The command, "lsusb", _may_ give some useful initial info.<br>
<br>
It's something that happens on all of them, including my 12.04<br>
rig. During bootup, various links are made, (in the /media dir),<br>
to the various USB connections. If you have a movie in your DVD<br>
drive, you'll _usually_ get the name of the movie as one of the<br>
links. If it's a device of some sort, you _might_ get the make/<br>
model/manufactures info, or a really odd looking, randomly<br>
generated alphanumeric, such as the one you report below.<br>
<br>
Further, if your device is a USB harddrive, Which received a<br>
name like, "/Alternate", during OS install, or from a formatting<br>
util like fdisk, then when typing, "ls /media", you might get,<br>
"/Alternate", "USB(N)", or, "enx86fe93fa90d8".<br>
<br>
As it kept changing for every bootup, the script I made to<br>
find/change it for my USB hardrive, may be useful to you,<br>
(with appropriate mods).<br>
<br>
1st, make a simple empty text file on your dev, and give it<br>
a handy name like, "devcheck", or you can make do with an<br>
allready existing file, as long as it's unique between devices.<br>
<br>
Next, you want to make a bash script that runs automatically,<br>
with each bootup, and put in it, something like the following:<br>
<br>
<br>
ls -1 /media >/tmp/dirlist # makes a one column dir<br></span>
# list<span class=""><br>
<br>
while read ADir # reads one dir name from<br></span>
# list<span class=""><br>
do if [ -e /media/$ADir/devcheck ]; # see if, "devcheck", exists<br>
<br>
then echo "$ADir" >/tmp/Alt ; break # if it does, store it<br>
# and exit loop<br>
fi<br>
Alternate=$(cat /tmp/Alt) ; export Alternate # make sure future<br>
# shells get the<br></span>
# msg<div><div class="h5"><br>
done </tmp/dirlist<br>
<br>
# You may need to add:<br>
<br>
'Alternative=$(cat /tmp/Alt) ; export Alternative'<br>
<br>
to your .bash_aliases file. Now your device can be accessed via,<br>
"/$Alternate", as in:<br>
<br>
ls /media/$Alternate/path/name<br>
<br>
It's from a long time ago, and a little convoluted, and could<br>
probably use a bit of cleaning up, bit it does work.<br>
<br>
Bill<br>
<br>
<br>
On Thu, 17 Dec 2015, Donatas G. wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
perhaps after the latest upgrade to 15.10 my computer can no<br>
longer connect to internet via android mobile phone connected<br>
via usb cable. It used to work, and I can still do that with a<br>
windows computer, so the android phone is not to blame.<br>
<br>
I recall that previously ifconfig would show that I am<br>
connecting through a usb0 device. Now it has a strange name<br>
"enx86fe93fa90d8"... The computer does get an IP address from<br>
the phone, but I can neither ping the phone itself (the<br>
"gateway") nor ping any website or IP address on the net. All<br>
the other parameters do not say a lot to me, but I am including<br>
those as output here below.<br>
<br>
Anyone has encountered this problem? Any idea why it fails to<br>
work? Would be grateful for ideas what to do next.<br>
<br>
Below are some outputs of the relevant commands.<br>
<br>
Sincerely<br>
<br>
Donatas Glodenis<br>
<br>
me@pc:~$ ifconfig<br>
enx86fe93fa90d8 Link encap:Ethernet HWaddr 86:fe:93:fa:90:d8<br>
inet addr:192.168.1.77 Bcast:192.168.1.255 <br>
Mask:255.255.255.0<br>
inet6 addr: fe80::84fe:93ff:fefa:90d8/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:0 errors:58 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br>
<br>
eth0 Link encap:Ethernet HWaddr f0:de:f1:e5:cb:71<br>
UP BROADCAST MULTICAST MTU:1500 Metric:1<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br>
Interrupt:20 Memory:f2500000-f2520000<br>
<br>
lo Link encap:Local Loopback<br>
inet addr:127.0.0.1 Mask:255.0.0.0<br>
inet6 addr: ::1/128 Scope:Host<br>
UP LOOPBACK RUNNING MTU:65536 Metric:1<br>
RX packets:4378 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:4378 errors:0 dropped:0 overruns:0<br>
carrier:0<br>
collisions:0 txqueuelen:0<br>
RX bytes:379363 (379.3 KB) TX bytes:379363 (379.3 KB)<br>
<br>
wlan0 Link encap:Ethernet HWaddr 8c:70:5a:24:1a:24<br>
UP BROADCAST MULTICAST MTU:1500 Metric:1<br>
RX packets:1884 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:1522 errors:0 dropped:0 overruns:0<br>
carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:1766439 (1.7 MB) TX bytes:296839 (296.8 KB)<br>
<br>
me@pc:~$ ping -c 3 <a href="http://delfi.lt" rel="noreferrer" target="_blank">delfi.lt</a><br>
ping: unknown host <a href="http://delfi.lt" rel="noreferrer" target="_blank">delfi.lt</a><br>
me@pc:~$ ping -c 3 91.234.200.113 ## this is an ip of <a href="http://delfi.lt" rel="noreferrer" target="_blank">delfi.lt</a><br>
PING 91.234.200.113 (91.234.200.113) 56(84) bytes of data.<br>
>From 192.168.1.77 icmp_seq=1 Destination Host Unreachable<br>
>From 192.168.1.77 icmp_seq=2 Destination Host Unreachable<br>
>From 192.168.1.77 icmp_seq=3 Destination Host Unreachable<br>
<br>
--- 91.234.200.113 ping statistics ---<br>
3 packets transmitted, 0 received, +3 errors, 100% packet loss,<br>
time 2014ms<br>
pipe 3<br>
<br>
me@pc:~$ netstat -nr<br>
Kernel IP routing table<br>
Destination Gateway Genmask Flags MSS<br>
Window irtt Iface<br>
0.0.0.0 192.168.1.2 0.0.0.0 UG 0<br>
0 0 enx86fe93fa90d8<br>
192.168.1.0 0.0.0.0 255.255.255.0 U 0<br>
0 0 enx86fe93fa90d8<br>
me@pc:~$ ping -c 3 192.168.1.2<br>
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.<br>
>From 192.168.1.77 icmp_seq=1 Destination Host Unreachable<br>
>From 192.168.1.77 icmp_seq=2 Destination Host Unreachable<br>
>From 192.168.1.77 icmp_seq=3 Destination Host Unreachable<br>
<br>
--- 192.168.1.2 ping statistics ---<br>
3 packets transmitted, 0 received, +3 errors, 100% packet loss,<br>
time 2014ms<br>
pipe 3<br>
<br>
me@pc:~$ cat /etc/network/interfaces<br>
# interfaces(5) file used by ifup(8) and ifdown(8)<br>
auto lo<br>
iface lo inet loopback<br>
<br>
me@pc:~$ cat /etc/resolv.conf<br>
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by<br>
resolvconf(8)<br>
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE<br>
OVERWRITTEN<br>
nameserver 127.0.1.1<br>
<br>
<br>
<br>
</blockquote>
</div></div></blockquote>
<br>--<br>
kubuntu-users mailing list<br>
<a href="mailto:kubuntu-users@lists.ubuntu.com">kubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/kubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/kubuntu-users</a><br>
<br></blockquote></div><br></div></div>