Jump to content

dimis7

Members
  • Posts

    4
  • Joined

  • Last visited

  1. tkaiser than you so much for your help! after checking with dmesg and lsmod i found that the modules is loaded fine... so i connected the board with a rooted android phone and from terminal emulator i tried the command lsusb and guess what: the phone detect the usb device as RNDIS/Ethernet Gadget!!! after that i found three problems with my pc: 1st: for some reason if i have connected on the 2 front usb ports of my pc the orange pi board and my FTDI usb to serial adaper, only the second show up on device manager of windows... 2nd: on the /etc/network/interfaces file i must add the line allow-hotplug usb0. if not the device is not detected by windows... 3rd: the windows don't load the drivers automatically. i flowed the instructions from this page and everything is working fine now... So after all its very easy: 1) Add the g_ether module to /etc/modules 2) Add the following config to /etc/network/interfaces : allow-hotplug usb0 iface usb0 inet static address 169.254.1.1 netmask 255.255.0.0 pre-up /bin/sh -c 'echo 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role' 3) Manual install the drivers for windows. Now you can use putty or any other SSH client to connect to orange pi IP (in the above example 169.254.1.1) Once again thanks for your help!!
  2. The pc is indeed a windows machine but the goal is to use it on a synology nas box that is running a custom Linux... The wired thing is that Windows not seen any new hardware... I will post later the output of dmesg and lsmod because I don't have the board with me now... Thanks for your help!
  3. tkaiser thanks for the really fast reply!! I have done the installation yesterday followed by a apt-get update, apt-get upgrade so I must have the latest release for this board... When I run the commands from first post: echo -n 0 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role modprobe g_ether echo -n 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role Nothing happens... the pc didn't find any new device and the orange pi don't show any error...
  4. Hi! I'm trying to implement a OTG USB ethernet interface on a Orange pi one... I'm not an advanced Linux user and the information that I found on the Internet is very confused... The instructions on the first post of this topic i think is the most easy to follow... But the link for the kernel (http://kaiser-edv.de..._kernel.tar.bz2) is not working anymore... Can someone reupload it somewhere? Thanks in advance, Dimitris
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines