Network Configuration in Debian (laptop network card)
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Network Configuration in Debian (laptop network card)
hey,
for all those who have been following my progress (nick.. lol), these days i have installed debian on an old laptop of mine. i finally got it to work today, with KDE up and running (yesssssssssss.. it was a network install). anyway... before i started kde, i had internet.. like, i managed to download kde and x-window-system, etc. but now, in KDE, i dont have internet.. and i cant seem to get it configured.. any help??
thxxx
kernel: 2.4
kde: 3.3.4
laptop, with network CreditCard ethernet adapter (it does recognize the card.. )
hmmmm ok, i checked the log but my card wasnt even on the list, so i guess its not loaded. however, if i run the command 'dmesg' and 'ifconfig', its registered as loaded. is there any correlation between the fact that before i installed the GUI i had internet access, and now i dont??
P.S. (completely off subject.. but wuts the command to save a command to a text file??)
is there any correlation between the fact that before i installed the GUI i had internet access, and now i dont??
No there is connection with the gui. I find on my own laptop with a pcmcia card that it loads tha card but fails to establish the connection and I have to restart the network service before it works.
If the card is reported as loaded in /var/log/dmesg then perhaps you only need to configure the network settings. The network configuration is stored in /etc/network/interfaces. If you give some detail on the output of ifconfig. You can do this by doing as root ifconfig > /home/user_name/ifconfig.txt where user_name is your user name. You can then save the file, ifconfig.txt to a floppy. Also give some detail about how you connect to the internet. The settings would have to be put into the interfaces file.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet dhcp
iface dsl-provider inet ppp
provider dsl-provider
# please do not modify the following line
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:10:A4:08:75:95
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2499 (2.4 KiB) TX bytes:684 (684.0 b)
Interrupt:5 Base address:0x300
now, as u may notice, there is already some configuration on eth0.. thats cause i tried to overwrite the settings (which werent working) and putting in my network information. i dont know where to go from here...
my network is 192.168.1.1, and my network address (DHCP) should be like 192.168.1.3
hmmmmmm ok, i looked over my post and noticed that TX packets wasnt 0.. so i went over there to test the connection.. and its connected!!!
hopefully it'll stay this way even after eventaully restarting.. is there anything i can do to be sure it does?? like, a solid network configuration, instead of based on luck like this??
hmmmmmm ok, i looked over my post and noticed that TX packets wasnt 0.. so i went over there to test the connection.. and its connected!!!
hopefully it'll stay this way even after eventaully restarting.. is there anything i can do to be sure it does?? like, a solid network configuration, instead of based on luck like this??
Do as root from a consol /etc/init.d/networking restart
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.