LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2008, 06:49 AM   #1
nortex
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Rep: Reputation: 0
ethernet configuration not working


i try to configure the dsl configuration on my laptop , using ethernet as a network card ..
i tried every possible way i know but nothing works..
i used the same configuration on ubuntu last year and it was alright but with pclinuxos .. its just not working..

so can you please guys help me step by step how to check on whats wrong coz:
- i read some of the threads in the forume but i couldn't understand it all..
- secondly .. im a newbe

thanks in advance
 
Old 07-04-2008, 08:10 AM   #2
womd
Member
 
Registered: Sep 2005
Location: Austria
Posts: 35

Rep: Reputation: 15
....

do you have pppoeconf / pppconf ?

does ifconfig show something reasonable ?
 
Old 07-04-2008, 08:11 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I would like to help, but you need to provide some information.

Please open a konsole, and run the command '/sbin/ifconfig' ( without the quotes ) and paste the results to this thread.

It would also help if you tell us what you are trying to set up, static IP or DHCP, the card, chipset etc. Is this wireless, or a wired card?
 
Old 07-04-2008, 09:49 AM   #4
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
It would also help to know what distro you are running = ) Some of the distros have little gui's that might help out.

Regards
JKZfixme
 
Old 07-04-2008, 01:38 PM   #5
nortex
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
ok.. ah..
i wanna try these commands .. if i figured out how to get to my desktop

my system stops at boot screen asking for my login name and password
i type the two but it keep saying that its not correct ..

well how can i get past this please
 
Old 07-04-2008, 02:08 PM   #6
nortex
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nortex View Post
ok.. ah..
i wanna try these commands .. if i figured out how to get to my desktop

my system stops at boot screen asking for my login name and password
i type the two but it keep saying that its not correct ..

well how can i get past this please


ok ok its all done .. ill try the commands and get back to you
 
Old 07-04-2008, 02:49 PM   #7
nortex
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
first of all , im running PClinuxOs 2007

here's what the ifconfig show:
Quote:
eth0 Link encap:Ethernet HWaddr 00:40:CA:BD:66:2E

inet6 addr: fe80::240:caff:febd:662e/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:609 errors:0 dropped:0 overruns:0 frame:0

TX packets:40 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:77834 (76.0 KiB) TX bytes:8928 (8.7 KiB)

Interrupt:5 Base address:0x2000


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:472 errors:0 dropped:0 overruns:0 frame:0

TX packets:472 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:35936 (35.0 KiB) TX bytes:35936 (35.0 KiB)

i'm trying to setup a dhcp connection , the ethernet card is sis 10/1000 and its a wired card...

about the pppoeconf / pppconf .. well actually i dont know what that is..
 
Old 07-04-2008, 11:48 PM   #8
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
Lightbulb

PCLinuxOS Configuration Utility (PC - System - Configuration - Configure Your Computer), entered the root password, select Network and Internet and then Configure a new connection and finally select DSL.

optionally you could edit /etc/pppoe.conf and do pppoe-start but the gui is probably easier

Regards
JKZfixme
 
Old 07-05-2008, 08:49 AM   #9
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
It appears your system has a ethernet driver insalled, since you got some output from '/sbin/ifconfig'. You also do not have an IP address.

Most distros will come configured for DHCP. It would appear your system is not seeing the DHCP server. Do you know what box is supplying that function? ( commonly done in your router ).

Could you look at the lights on the network where you plug your ethernet cable in to see if there are green light(s) or not and let us know? A green light shows hardware conectivity. Nice to know if your cable is good or not.

Also, when you cut and paste on the forum, try to use the Quote button at the top of the editing window, paste between the quote and equote markers. It makes the text much more readable. Example, my ifconfig output:

Quote:
/sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1D:7D:20:F4:67
inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53115 errors:0 dropped:0 overruns:0 frame:0
TX packets:46331 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:70525134 (67.2 MiB) TX bytes:4731146 (4.5 MiB)
Interrupt:19 Base address:0xe000
Note the second line, that is where the IP address shows up...
 
Old 07-06-2008, 01:54 AM   #10
nortex
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by camorri View Post
Most distros will come configured for DHCP. It would appear your system is not seeing the DHCP server. Do you know what box is supplying that function? ( commonly done in your router ).

Could you look at the lights on the network where you plug your ethernet cable in to see if there are green light(s) or not and let us know? A green light shows hardware conectivity. Nice to know if your cable is good or not.
well what do you mean by " what box " ?
the greens are ok.. and the cable is fine coz i tried it on another computer.

would it help you if you knew that im trying to connect to a local network , a server and a hub..

another thing: when i try to configure firefox and check a site.. it says that " firefox is configured to use a proxy server that is refusing connections "

well Im not good at networks an connectivity but i can still notice that there's a thing behind this...

thanks
 
Old 07-06-2008, 05:13 AM   #11
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Quote:
Originally Posted by nortex View Post
well what do you mean by " what box " ?
the greens are ok.. and the cable is fine coz i tried it on another computer.

would it help you if you knew that im trying to connect to a local network , a server and a hub..

another thing: when i try to configure firefox and check a site.. it says that " firefox is configured to use a proxy server that is refusing connections "

well Im not good at networks an connectivity but i can still notice that there's a thing behind this...

thanks

i'm very confused - why are you trying to use DSL to connect to a LAN? if that's what you mean...?

you can change firefox to not use a proxy server within firefox settings.
 
Old 07-06-2008, 05:59 AM   #12
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
well what do you mean by " what box " ?
I'm asking if you know which machine in the network if the DHCP server?

It can be a router or a host system like linux. When you run DHCP, your machine initially does not have a valid IP address. It sends out a broadcast message requesting an IP address to be assigned from the server. If the server sees the request, it will return a valid IP address to your system, and you will see it when you run the ifconfig command. This is the same for windoze as well as linux ( or any other OS ).

Quote:
the greens are ok.. and the cable is fine coz i tried it on another computer.
This is good, you have verified the cable is working.

Quote:
when i try to configure firefox and check a site.. it says that " firefox is configured to use a proxy server that is refusing connections "
A proxy server is used for security. When a network is designed, corporate networks, school networks etc, proxy servers are often the only way to access the public internet, by design. Some proxy servers you may need to log into with a user ID and password. In other words, the designers are controlling things. This is common on some wireless setups. It prevents unauthorized users from using the resources. You will have to talk to the administrators to find out why you are being "refused". The server may be checking MAC addresses, yes you have one, every NIC has one. This is the hardware address put there by the manufacturer of the card. The admins may have to add your nic ( if that is what they are doing ).

Quote:
trying to connect to a local network , a server and a hub
If you do not require access beyond the local network, you can assign a static IP address. Be careful, you should not assign one that is part of a DHCP pool of addresses. You can cause problems for the admins. For example, lets say you are trying to connect to lan 192.168.5.x. The DHCP server may be using the first 128 adresses. You need to pick something out side of that range, say address 192.168.5.240. This is just an example. If you used one inside the range, someone will connect to the server, the server will hand out your address, and an error will log of 'duplicate addresses' Sooner or later the admins will see it is your MAC address and track you down. Don't do that.

The correct way is to find out how to get access to the proxy server, and any other authorization you need to connect to the DHCP servers.
 
Old 07-06-2008, 06:55 AM   #13
nortex
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by camorri View Post
I'm asking if you know which machine in the network if the DHCP server?

It can be a router or a host system like linux. When you run DHCP, your machine initially does not have a valid IP address. It sends out a broadcast message requesting an IP address to be assigned from the server. If the server sees the request, it will return a valid IP address to your system, and you will see it when you run the ifconfig command. This is the same for windoze as well as linux ( or any other OS ).

This is good, you have verified the cable is working.



A proxy server is used for security. When a network is designed, corporate networks, school networks etc, proxy servers are often the only way to access the public internet, by design. Some proxy servers you may need to log into with a user ID and password. In other words, the designers are controlling things. This is common on some wireless setups. It prevents unauthorized users from using the resources. You will have to talk to the administrators to find out why you are being "refused". The server may be checking MAC addresses, yes you have one, every NIC has one. This is the hardware address put there by the manufacturer of the card. The admins may have to add your nic ( if that is what they are doing ).



If you do not require access beyond the local network, you can assign a static IP address. Be careful, you should not assign one that is part of a DHCP pool of addresses. You can cause problems for the admins. For example, lets say you are trying to connect to lan 192.168.5.x. The DHCP server may be using the first 128 adresses. You need to pick something out side of that range, say address 192.168.5.240. This is just an example. If you used one inside the range, someone will connect to the server, the server will hand out your address, and an error will log of 'duplicate addresses' Sooner or later the admins will see it is your MAC address and track you down. Don't do that.

The correct way is to find out how to get access to the proxy server, and any other authorization you need to connect to the DHCP servers.

thanks alot.. will try that and get back with the results
 
Old 07-06-2008, 07:19 AM   #14
nortex
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
I dont know how it worked but it did ..

I just tried an IP I tried it yesterday .. and now it works ...

thank you all for your help ... hope i didnt bother you..
 
  


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
How do I change my ethernet configuration? DavidHB Linux - Networking 4 07-02-2006 08:02 AM
Basic Ethernet Configuration awj78 Linux - Networking 1 01-31-2006 12:46 PM
Ethernet Configuration Lost lucycling Mandriva 2 07-09-2005 05:24 PM
Ethernet Adapter not working or Network not working... phoenix07 Linux - Hardware 2 04-09-2004 06:58 PM
Ethernet Configuration Apollo_440 Linux - Hardware 7 03-12-2003 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 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