I have 2 NIC's, I think eth1 is the one connected to my CM, cos in winXP its
LAC 2, the other is not being used.
The NICs are Realtek RTL8139 PCI Fast Ethernet.
ifcfg eth0
Device=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
NEEDHOSTNAME=yes
ifcfg eth1
Device=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=yes
ifcfg-lo
Device=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
Any help appreciated.
that device on eth1 is incorrect.
You have to find out which device is connected to the CM.
if you do a /sbin/ifconfig you could check the HWaddr
against the windows command ipconfig/all
I would add
BROADCAST=255.255.255.255
to /etc/sysconfig/network-scripts/ifcfg-eth0 and eth1
you might do a
ls -al /etc/dhcpc/dhcpcd-eth* to see if you ever received a lease
if so cat the file to get dns values an put them in /etc/resolv.conf
Example: cat /etc/resolv.conf
nameserver 204.127.202.449
nameserver 216.148.227.628
search attbi.com
here is mine for comcast.net, I forced my hostname for my node.
cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=dhcp
IPADDR=12.209.207.213
NETMASK=255.255.254.0
NETWORK=12.209.0.0
BROADCAST=255.255.255.255
ONBOOT=yes
and cat /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=yes
DHCP_HOSTNAME="x1-6-00-a0-cc-21-b8-9"
HOSTNAME=fw.home
DOMAINNAME=home
GATEWAY=12.209.206.1
GATEWAYDEV=eth1
serice network restart to test your changes
tail -100 /var/log/messages to see error messages (maybe)
> I have just installed Mandrake 9.1 but can't get the CM working.
>
> I have 2 NIC's, I think eth1 is the one connected to my CM, cos in winXP
> its LAC 2, the other is not being used.
>
> The NICs are Realtek RTL8139 PCI Fast Ethernet.
>
> ifcfg eth0
>
Don't get me wrong, but I don't know how to do what you want. Instead, let
me offer advice:
Instead, buy a router and connect everything to it. DHCP or static IP, etc.
I find it a LOT easier to use a router to distribute and route traffic than
linking all my machines in series like that.
Besides, it's a lot easier to maintain. Fewer cross-platform woes. That
and, if you get a router with a firewall, increased security. No more need
to run resource-hogging software firewalls.
--
" ... and are endowed by their Creator
with certain unalienable rights ... "
NeoSadist
"Bit Twister" <BitTw...@localhost.localdomain> wrote in message
news:slrnbg1g5p.b...@wb.home
|| On Mon, 30 Jun 2003 21:19:46 GMT, newguy wrote:
|| that device on eth1 is incorrect.
||
|| You have to find out which device is connected to the CM.
WinXP
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast
Ethe
rnet NIC
Physical Address. . . . . . . . . : 00-00-00-00-00-00
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast
Ethe
rnet NIC #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 00.00.000.000
Subnet Mask . . . . . . . . . . . : 000.000.000.000
Default Gateway . . . . . . . . . : 00.00.000.000
DHCP Server . . . . . . . . . . . : 00.00.0.000
DNS Servers . . . . . . . . . . . : 00.00.0.000
00.00.0.000
Linux
eth0
Link encap:Ethernet HWaddr - - - - - - -
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:773 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0b) TX bytes:0 (0.0b)
Interrupt:5 Base address:0x200
eth0:9
Link encap:Ethernet HWaddr - - - - - - - -
inet addr:169.254.83.64 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:773 overruns:0 frame:0
Interrupt:5 Base address:0x200
eth1
Link encap:Ethernet HWaddr - - - - - - -
inet addr:192.168.0.9 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1492 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:100
RX bytes:0 (0.0b) TX bytes:0 (0.0b)
Interrupt:12 Base address:0x400
eth1:9
Link encap:Ethernet HWaddr - - - - - - -
inet addr:169.254.140.142 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:12 Base address:0x400
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:62 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3910 (3.8Kb) TX bytes:3910 (3.8 Kb)
Well, I do not know why you have the ethX:n devices or how you are
hooked up.
for me
ls /etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
/etc/sysconfig/network-scripts/ifcfg-lo
Here is something to play with:
eth0 and eth1 Network Interface Cards (nic) are in my firewall box (fw).
eth1 numbers can be left out if you do not have one.
IF you have just two systems, you might be able to use
a crossover cable.
Except for 192.168.x.x (Private network) numbers
these ip addresses are for this discussion.
You change the 24.x.x.xx to your ISP numbers.
Use the 192.168.x.x so your internal lan/private network routes correctly.
DHCP_HOSTNAME is your node name given to you by your ISP
24.x.x.xx is your ISP assigned address.
ggg.ggg.ggg.1 is your ISP gateway/router.
I borrowed hysterion's (on MindSpring Enterprises) drawing
192.168.1.1 pc1 node's gateway
192.168.1.14 pc1 node's ip
|
v
x pc1 printer 24.x.x.xx
x \ / |
x \ / v
x Hub---------eth1_fw_eth0---cablemodem-----ISPgateway---Internet
x / ^ ^
x / | |
x pc2 192.168.1.1 ggg.ggg.ggg.1
^ lan gateway
|
192.168.1.12 pc2 node's ip
192.168.1.1 pc2 node's gateway
I am giving you the actual files to modify. The files can have items
not in this document. Numbers given are examples only.
/etc/sysconfig/network-scripts/ifcfg-eth0
and add (if not in the file)
DHCP_HOSTNAME="pc-80-194-168-217-kn" <==== leave the quotes
ONBOOT=yes
IPADDR=80.194.168.217
NETMASK=255.255.254.0
NETWORK=80.194.168.0
BROADCAST=255.255.255.255
ONBOOT=yes
BOOTPROTO="dhcp" <==== leave the quotes
etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
/etc/sysconfig/network
NETWORKING=yes
GATEWAY="80.194.168.1" <==== leave the quotes
GATEWAYDEV="eth0" <==== leave the quotes
/etc/resolv.conf Contains your isp's dns name servers
search localdomain blueyonder.co.uk
nameserver 194.117.152.85
nameserver 193.38.113.3
nameserver 194.117.157.4
/etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 fw.home fw
80.194.168.217 pc-80-194-168-217-kn.blueyonder.co.uk pc-80-194-168-217-kn
/etc/host.conf
order hosts, bind
multi on
/etc/sysctl.conf
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1 <=== turn on ip forward masquerading
service network restart to test your changes
tail -100 /var/log/messages to see any error messages
--
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a, man command_here or cat command_here, before using it.
"NeoSadist" <neos...@charter.net> wrote in message
news:vg25eab...@corp.supernews.com
|| newguy wrote:
||
||| I have just installed Mandrake 9.1 but can't get the CM working.
|||
||| I have 2 NIC's, I think eth1 is the one connected to my CM, cos in
||| winXP its LAC 2, the other is not being used.
|||
||| The NICs are Realtek RTL8139 PCI Fast Ethernet.
|||
||| ifcfg eth0
|||
||
|| Don't get me wrong, but I don't know how to do what you want.
|| Instead, let me offer advice:
|| Instead, buy a router and connect everything to it. DHCP or static
|| IP, etc. I find it a LOT easier to use a router to distribute and
|| route traffic than linking all my machines in series like that.
|| Besides, it's a lot easier to maintain. Fewer cross-platform woes.
|| That and, if you get a router with a firewall, increased security.
|| No more need to run resource-hogging software firewalls.
Don't need one, I am not on a network, think I'll remove the other NIC.
"Bit Twister" <BitTw...@localhost.localdomain> wrote in message
news:slrnbg2ofh.d...@wb.home
|| On Tue, 01 Jul 2003 09:55:51 GMT, newguy wrote:
||
|| Well, I do not know why you have the ethX:n devices or how you are
|| hooked up.
||
|| for me
|| ls /etc/sysconfig/network-scripts/ifcfg-*
|| /etc/sysconfig/network-scripts/ifcfg-eth0
|| /etc/sysconfig/network-scripts/ifcfg-eth1
|| /etc/sysconfig/network-scripts/ifcfg-lo
||
Mine is similar to yours but looks like this
ls /etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/ifcfg-eth0 (using module 8139too)*
/etc/sysconfig/network-scripts/ifcfg-eth1
/etc/sysconfig/network-scripts/ifcfg-eth1 (using module 8139too)
/etc/sysconfig/network-scripts/ifcfg-lo@
Best idea in the whole thread.
Well, I do not know why you have the ethX:n devices or how you are
hooked up.
for me
ls /etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
/etc/sysconfig/network-scripts/ifcfg-lo
Here is something to play with:
"newguy" <fals...@NOSPAMblueyonder.co.uk> wrote in message
news:SP1Ma.11882$XH1.85...@news-text.cableinet.net
|| I have just installed Mandrake 9.1 but can't get the CM working.
||
|| I have 2 NIC's, I think eth1 is the one connected to my CM, cos in
|| winXP its LAC 2, the other is not being used.
I took my unused NIC out and still no joy.
SOLUTION
I removed Mandrake and installed Redhat 9 and success.
I have internet access, my USB MS mouse works and so does my Epson printer -
all of which refused to work in Mandrake :)
"jjim" <jjim(nojunk)@operamail.com> wrote in message
news:pan.2003.07.02....@operamail.com
|| On Wed, 02 Jul 2003 11:56:03 +0000, newguy wrote:
||
||
|| great go tell the redhat people....cya
prat
The point of the newsgroup is to help people that choose Mandrake, not
convince people to go elseware (IE advertisement, or spam as it's better
called). Telling someone to just go do something else does not always help
them out. It more or less gives them the "in your face" expression.
Kind of like if you bought a new Ford Explorer and am having huge amounts of
trouble with it. And I came along and said "You should have bought a
Blazer". - Well, great, thanks a lot, that really helps.