Ignoring unknown interface eth0=eth0
I want to edit my hosts file, so I.
sudo gedit /etc/hosts I saved, and reset the network by sudo /etc/init.d/networking restart but got output of: * Reconfiguring network interfaces... Ignoring unknown interface eth0=eth0. and hosts file doesn't work for me. What's wrong? How to solve it. I am using ubuntu 10.10 now. |
The hosts file has nothing to do with your interfaces. Does your network connection work properly?
I don't understand what you mean by Quote:
jdk |
please post ifconfig -a output
|
Quote:
|
Quote:
I am trying to visit website like www.dropbox.com but it can not be reached directly here. I need to use dropbox software directly not by proxy. Hope I make it clear |
Quote:
eth0 Link encap:以太网 硬件地址 00:1e:c9:03:f7:28 inet 地址:166.166.166.52 广播:166.166.166.255 掩码:255.255.255.0 inet6 地址: fe80::21e:c9ff:fe03:f728/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:2557 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:2175 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:2567248 (2.5 MB) 发送字节:348324 (348.3 KB) 中断:17 lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 跃点数:1 接收数据包:540 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:540 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:0 接收字节:42040 (42.0 KB) 发送字节:42040 (42.0 KB) vboxnet0 Link encap:以太网 硬件地址 0a:00:27:00:00:00 BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:0 (0.0 B) 发送字节:0 (0.0 B) wlan0 Link encap:以太网 硬件地址 00:1f:3c:3b:35:8f inet6 地址: fe80::21f:3cff:fe3b:358f/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:255946 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:188599 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:226361532 (226.3 MB) 发送字节:21760555 (21.7 MB) I got this. |
Quote:
iface lo inet loopback |
Quote:
Do you have a working internet connection? Your problem seems to be about just one website and not the entire web. Is this correct? jdk |
Quote:
Website like dropbox, facebook can not be visited directly. Possible solutions known by users in China, is to to edit hosts file, and most of them has done that. But it did not work for me right now. |
Sorry, I really don't know what you're talking about. What exactly are you supposed to do with your host file and what does that have to do with your interfaces?
jdk |
abc
|
Quote:
What I am try to is to let my dropbox software to be able to visit dropbox website directly by editing my /etc/hosts file. Because, in China, the great firewall forbids users to visit this website. |
Yes, you said that already but I still don't see how editing your hosts file will solve this. Why don't you use an anonymiser website like anonymouse? And what does all this have to do with your interfaces issue? You still are not being clear.
jdk |
Quote:
If the firewall is preventing DNS resolution (strange choice) then changing the hosts file will help. |
Quote:
Edit host file will enable users to visit websites directly, China visitors use this way for a long time. I am fresh man of linux,especially to ubuntu. When I try to edit hosts file like others, but did not succeed to visit those websites like others. I konw there is some poxy like anonymouse.org can help to visit, but I just want to visit that website directly. |
All times are GMT -5. The time now is 05:47 AM. |