View Single Post
Posts: 12 | Thanked: 1 time | Joined on May 2011
#10
Originally Posted by jedi View Post
Copy/paste your xterm window here.

(if you are attempting to edit /etc/network/interfaces and it gives you the message "permission denied" then you aren't root!)
Ok.
First I will enter "root" command in xterm. Then I will simply write command "/etc/network/interfaces", and it gives the following information in xterm;

-sh: /etc/network/interfaces: Permission denied

Then I will enter "sudo gainroot" command in xterm. Then I will simply write command "/etc/network/interfaces", and it gives the following information in xterm;

/bin/sh: /etc/network/interfaces: Permission denied

I am quoting the instruction as was written in http://wiki.maemo.org/N900_USB_networking . Please, tell me where I am making the mistake.

N900 USB network configuration

If you are going to use windows as your host, the configuration needed on your N900 are a little different, so skip directly to the "Starting USB network mode with Windows" Part.

There is a default USB network interface configuration on Nokia N900. In the file /etc/network/interfaces, you should see a section which looks like this:

auto usb0
iface usb0 inet static
address 192.168.2.15
netmask 255.255.255.0
gateway 192.168.2.14