-
installing cable internet with 3com etherlink
Hi, i just installed Knoppix to my hd a few hours ago.. now im trying to get internet up & running. I am a complete Linux n00b so please be clear/simple in your answers
I have 2 network cards in my pc. a Realtek RTL8139 PCI fast ethernet adapter for LAN use, while the 3com Etherlink XL PCI TPO NIC (3C900B-TPO) is used to connect to the internet (cable running from it straight to my cable modem)
First thing i tried was to run PPOEconf :
the program says i have 2 adapters: eth0 and eth1
i click OK & after some loading i get :
"Sorry I scanned 1 interface,but the Access contrentator of your provider did not respond. Please check your network and modem cables. Another reason for the scan failure may also be another running PPPoe process which controls the modem"
next thing i did was running netcardconfig:
I select either eth0 or eth1
It asks me if i want to use DHCP broadcast (i have no idea what that is)
yes-> the program stops
no -> It asks for :
-IP address for eth0/eth1
-network mask
-broadcast address
-default gateway
-nameservers
I have no idea what to fill in anywhere..
I'm also pretty sure i have to use a proxy server, so i configered that already in the controlcentre to "http://proxy.pandora.be:8080"
I hope u have enough info so i can get some help ?
Thx
-
Senior Member
registered user
Re: installing cable internet with 3com etherlink
Originally Posted by
TheWax
I have 2 network cards in my pc. a Realtek RTL8139 PCI fast ethernet adapter for LAN use, while the 3com Etherlink XL PCI TPO NIC (3C900B-TPO) is used to connect to the internet (cable running from it straight to my cable modem)
OK if you have a cable modem then you most likely use DHCP. Did your ISP tell you that you would always use a certain i.p. address?
First thing i tried was to run PPOEconf :
the program says i have 2 adapters: eth0 and eth1
i click OK & after some loading i get :
You don't need to use PPPOE
next thing i did was running netcardconfig:
I select either eth0 or eth1
It asks me if i want to use DHCP broadcast (i have no idea what that is)
yes-> the program stops
no -> It asks for :
-IP address for eth0/eth1
-network mask
-broadcast address
-default gateway
-nameservers
I have no idea what to fill in anywhere..
netcardconfig should return output that looks like this:
Code:
sudo netcardconfig
Sending DHCP broadcast from device eth0 OK.
auto lo eth0
I'm also pretty sure i have to use a proxy server, so i configered that already in the controlcentre to "http://proxy.pandora.be:8080"
I hope u have enough info so i can get some help ?
Thx
When I use a proxy I also enter it into the Control Center. Under Proxy> make sure PROXY is checked and Manually Specified Settings>Setup>
HTTP: http://proxy.pandora.be Port 8080
HTTPS: http://proxy.pandora.be Port 8080
Now see if you have an i.p. address:
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:10:B5:FC:E6:28
inet addr:16.112.146.102 Bcast:16.112.191.255 Mask:255.255.192.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:277298 errors:0 dropped:0 overruns:0 frame:27
TX packets:1994 errors:0 dropped:0 overruns:0 carrier:0
collisions:44 txqueuelen:100
RX bytes:78556476 (74.9 MiB) TX bytes:336051 (328.1 KiB)
Interrupt:5 Base address:0x300
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:752 (752.0 b) TX bytes:752 (752.0 b)
Do you have an i.p. address now? See if you can ping.
-
proxy servers are correctly filled in i think
when typing ifconfig -a i get :
root@pcwim:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:BF3:A2:5C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:9720 (9.4 KiB)
Interrupt:10 Base address:0xa000
eth1 Link encap:Ethernet HWaddr 00:04:76:34:CB:48
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:14280 (13.9 KiB) TX bytes:9720 (9.4 KiB)
Interrupt:11 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:313 errors:0 dropped:0 overruns:0 frame:0
TX packets:313 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28480 (27.8 KiB) TX bytes:28480 (27.8 KiB)
root@pcwim:~#
when i type: ping 216,239,39,99 (google.com)
i get: ping 216,239,39,99 : 56 data bytes
does that mean i can ping orrr..
& here in windows my IP changes from time to time (the IP i use for hosting games & stuff), is that an anwser to your question? & i am sure i need DHCP, just dont know how to configure it (& what its for )
-
uh.. anyone? *pushing thread up*
-
Senior Member
registered user
You have both cards using the same IP address on a private subnet eg 192.168.0.???. Assuming that eth0 is your 3com and is connected to the cable modem edit the network settings by opening a console window and becoming root by using su and typing in your root password. Then gvim /etc/network/interfaces this opens the file for editing you should have these lines for eth0 to use dhcp:
Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
save the file then exit next open the file for the nameservers gvim /etc/resolv.conf example file below:
Code:
search wolf
nameserver 192.168.1.10
nameserver 192.168.1.34
You just need the nameserver line(s) the search line is not necessary once you have entered your settings and saved the file /etc/init.d/networking restart to restart the network with your new settings. Assuming the eth0 gets a lease from your isp dhcp server you should now be able to connect to the internet.
If you want your internal LAN to be able to connect to the internet then you will have to use a firewall NAT program or script you should use a firewall anyway irreguardless of whether you want the internal lan to connect. The first thing you should do once you have an internet connection is go to Gibson Research Corportion and use their Shields Up web port scanning utility to check for open ports on your computer everything should show up as closed ports.
The DHCP is a way for cheap ISPs to save IPs by re-using a block of address by not giving you a real IP address therefore they do not need as many IPs because when someone disconnects or they time you out they can re-use the address for someone else.
Some firewalls that are available with the apt-get utility guarddog, firestarter or bastille-linux or if you feel like editing by hand you can use what I do Arno's Iptables all except guarddod have built in NAT support to share the internet connection you have to set that up seperatly with guarddog.
-
ok, i did all that, but not using a shell, i just opened the directories manually (i cept getting a message "permission denied") & afterwards i rebooted
now when linux boots, it's checking for something:
DHCPDISCOVER on eth0 to 255,255,255,255 port 67 interval 6
DHCPDISCOVER on eth0 to 255,255,255,255 port 67 interval 19
...
so it checks all kinds of ports & intervals, & than i get something like "dhcp not responding" & i just boot normally, but no internet offcourse..
ive changed eth0 to eth1 wich gives the same result
i've also copy pasted the "interfaces" file from someone who has the same internet provider as i do here, wish gives the same result..
when i try to open a website i get "unknown host proxy.pandora.be" but im sure the proxy's correct..
thx for ur reply, hope u can help me?
-
-
Senior Member
registered user
Originally Posted by
TheWax
ok, i did all that, but not using a shell, i just opened the directories manually (i cept getting a message "permission denied")
You "did all that except..." well there you go. Do it exactly as Stephen wrote it. There's a reason he didn't tell you to just open the files.
When I was in school there were times when the teacher handed us a paper and said "Follow the instructions and hand it in when you are finished." Invariably some of the students would be writing madly for the entire class while others turned their papers in almost instantly. Why? Because the directions said "Write your name on this paper and turn it in."
Which kind of student are you?
-
ok so i open shell:
Code:
root@pcwim:~# su root
nothing happens as im already logged in as root when linux boots..
Code:
root@pcwim:~# gvim /etc/network/interfaces
i fill it in
Code:
root@pcwim:~# gvim /etc/resolv.conf
i fill it in
Code:
root@pcwim:~# /etc/init.d/networking restart
Reconfiguring network interfaces... Ignoring unknown interface eth1=eth1.
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/eth0/00:50:bf:d3:a2:5c
Sending on LPF/eth0/00:50:bf:d3:a2:5c
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
I try again now changing eth0 to eth1
Code:
root@pcwim:~# gvim /etc/network/interfaces
root@pcwim:~# gvim /etc/resolv.conf
root@pcwim:~# /etc/init.d/networking restart
Reconfiguring network interfaces... cat: /var/run/dhclient.eth1.pid: No such file or directory
Ignoring unknown interface eth0=eth0.
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/eth1/00:04:76:34:cb:48
Sending on LPF/eth1/00:04:76:34:cb:48
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
thats what i get
Similar Threads
-
By Z038 in forum Networking
Replies: 0
Last Post: 12-27-2004, 07:36 AM
-
By emilia in forum Networking
Replies: 1
Last Post: 08-28-2004, 02:10 AM
-
By kibkid in forum Networking
Replies: 5
Last Post: 05-04-2004, 01:41 PM
-
By sepht in forum Hardware & Booting
Replies: 1
Last Post: 07-15-2003, 09:03 AM
-
By hpy7871 in forum Hardware & Booting
Replies: 4
Last Post: 05-03-2003, 08:18 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY)
$389.95
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$89.99
Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B
$39.99
WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN
$59.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
1TB SSD Portable External Hard Disk USB 3.1 Type-C
$20.00
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$13.99
M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11
$85.25
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT
$188.99