Jump to content

After Setup upgrade


falk72
 Share

Recommended Posts

After the initial setup i was able to share the internet on my MAC, but after the upgrade I was not able to share internet. I focused on DHCP the service wouldnt start. Then i realized the there wanst a usb0 device in ifconfig. which would cause the DHCP not to start. I searched the internet for anything to do with usb ethernet not working in Debian.

root@bunny:~# dmesg | grep usb
[    9.971714] usb open backing file: /dev/nandf, 0xd300aa00
[   15.201339] WRN:L1161(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end

root@bunny:~# ifconfig encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:520 (520.0 B)  TX bytes:520 (520.0 B)

root@bunny:~# ifconfig usb0 up
usb0: ERROR while getting interface flags: No such device

I added

# Include files from /etc/network/interfaces.d:
auto lo
allow-hotplug usb0
auto usb0
iface usb0 inet static
         netmask 255.255.255.0
         gateway 172.16.64.64
         dns-nameserver 8.8.8.8
"/etc/network/interfaces"

 

I can factory default the bash bunny and everthing work again until i do the apt-get upgrade.

Any help would be great.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...