I have new Internet provider ho gave me adsl modem Scientific Atlanta EPC 2203(before i had adsl modem/router and everything worked perfect). This modem goes directly to Internet and i don't have to enter user name and password(didn't even get one from ISP). When i first booted my comp with this modem the Internet speed was terrible slow. Then i figured if i do
"sudo /etc/init.d/networking restart" that my connection works like dream.
Now i have to "sudo /etc/init.d/networking restart" every time i restart X or boot PC. I dont now how to solve this pleas help. I have tried even to configure pppoeconf but it didnt work because i have to enter user name and pass.
This is output that i get when i restart network
Code:
$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth0.pid with pid 12616
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:1a:4d:9a:7d:68
Sending on LPF/eth0/00:1a:4d:9a:7d:68
Sending on Socket/fallback
DHCPRELEASE on eth0 to 83.139.64.22 port 67
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:1a:4d:9a:7d:68
Sending on LPF/eth0/00:1a:4d:9a:7d:68
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 88.207.31.186 from 88.207.28.1
DHCPREQUEST of 88.207.31.186 on eth0 to 255.255.255.255 port 67
DHCPACK of 88.207.31.186 from 88.207.28.1
bound to 88.207.31.186 -- renewal in 69052 seconds.
* Stopping NTP server ntpd
...done.
my interfaces file (tried with various settings)
Code:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0
Code:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth0
Code:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
address 00:1a:4d:9a:7d:68
netmask 255.255.255.255
gateway 88.207.28.1
auto eth0
ifconfig
Code:
:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1a:4d:9a:7d:68
inet addr:88.207.31.186 Bcast:255.255.255.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:16999775 errors:0 dropped:0 overruns:0 frame:0
TX packets:13893646 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5721321129 (5.7 GB) TX bytes:3409021903 (3.4 GB)
Interrupt:23 Base address:0x6000
Code:
~$ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
88.207.28.0 * 255.255.252.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 88.207.28.1 0.0.0.0 UG 100 0 0 eth0
~$ sudo gedit /etc/resolv.conf
Code:
domain domain.com
nameserver 213.149.32.23
nameserver 83.139.64.10
P.S. My Network Manager don t work after i did install Virtual Box?(i doubt that this is connected in any whey with my problem)
So every thing i do is from the terminal
Bookmarks