LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2006, 08:38 PM   #1
legendaryhwk
Member
 
Registered: Feb 2006
Posts: 31

Rep: Reputation: 15
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.. )
 
Old 04-05-2006, 05:51 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Check /var/log/dmesg and look for an error loading the card. If you can post the error it would be helpful.
 
Old 04-05-2006, 06:01 AM   #3
legendaryhwk
Member
 
Registered: Feb 2006
Posts: 31

Original Poster
Rep: Reputation: 15
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??)

thxs
 
Old 04-05-2006, 06:31 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally Posted by legendaryhwk
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.
 
Old 04-05-2006, 12:46 PM   #5
legendaryhwk
Member
 
Registered: Feb 2006
Posts: 31

Original Poster
Rep: Reputation: 15
ok, here are the files..

etc/network/interaces:

# 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

wut should i do???
 
Old 04-05-2006, 12:48 PM   #6
legendaryhwk
Member
 
Registered: Feb 2006
Posts: 31

Original Poster
Rep: Reputation: 15
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??
 
Old 04-06-2006, 03:59 AM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally Posted by legendaryhwk
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Network Install thru Network Card (laptop) legendaryhwk Linux - Networking 4 04-03-2006 04:37 PM
need advice laptop network and wireless configuration Nurdin Debian 1 01-22-2005 04:57 AM
Installing Debian on my laptop, but no network card drivers ChemBot Linux - Networking 0 05-30-2003 12:01 AM
network installation of RH7.3 on laptop with pcmcia network card. Smerk Linux - Distributions 1 10-31-2002 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration