I was asked to enter the Network configuration during the installation, but i did not do that, as I had discovered a bug in the previous apt-get...(It used to search for an internet connection ..which I can't get without a login to my ISP server.)
I even can't see a gui for that thing.
I tried the following commands.
Code:
ifconfig eth0 up
ifconfig eth0 inet netmask 255.255.255.0
ifconfig eth0 inet broadcast xx.xx.xxx.255
ifconfig eth0 inet address xx.xx.xxx.xxx.
route add default gw xx.xx.xxx.1
Internet worked fine then.
But when I restarted the computer, all the addresses had vanished and I get the following error.
Code:
Error: SIOCSIFBRDADDR: Cannot assign requested address
Moreover, the ifconfig -a command gives the following output.
Code:
root@copperskull:/home/amit # ifconfig -a
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: fe80::4e00:10ff:fe00:c0cc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:449 errors:186 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47506 (46.3 KiB) TX bytes:378 (378.0 b)
Interrupt:11 Base address:0xd000
lo Link 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:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1800 (1.7 KiB) TX bytes:1800 (1.7 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
How can I get a permanent Internet connection configured on debian?
I have no problem editing files, but just set me off --what file to edit.
Best if you could suggest a GUI thingy for the same.
PS: The LAN Card is not activated on boot. I do it by using ifconfig. How do I change it so that it would start (be UP) automatically at boot-up?
Thank you.