Jump to content

New 10.1 install network problem


Crashdamage
 Share

Recommended Posts

I'll try to keep this as short as as I can, but still give complete enough info. I've used this setup for 3 years , but I can't make it work now.

 

I installed Mandrake 10.1OE, then Buchan Milne's Win4lin-enabled kernel and have Win4lin running fine except for internet access. I kept /home, so this is the same Win4lin/Win98 installation, unchanged, not reinstalled. No hardware changes whatosever. Other than KDE being all jacked up (and I don't care) no major problems. The Linux box has 2 nics, eth0 is connected to a Road Runner cable modem via dhcp. This works fine. eth1 is assigned a static IP so it the box can be used as a router to connect either my laptop (unavailable right now, bad HD) via wired ethernet connection or Win4Lin/Win98 internally via vnet ("virtual") networking. Before, I've used Webmin for setup, and even kept printouts of Webmin screens just to be sure I got everything *exactly* as before (except dhcp numbers, of course). Here's the setup:

 

On the Linux box:

Network interfaces:

eth0: IP: 65.30.14.83 Netmask: 255.255.252.0 (from dhcp)

eth1: IP: 162.168.0.1 Netmask: 255.255.255.0 (static)

lo: IP: 127.0.0.1 Netmask: 255.0.0.0

Host addresses:

127.0.0.1 localhost.localdomain localhost

192.168.0.1 tim.mybox.net tim

198.168.0.1 localhost.localdomain localhost

DNS client:

Hostname: localhost.mybox.net

DNS servers:

24.94.163.113

24.94.165.25

24.94.165.132

Search domains: kc.rr.com

Routing and gateways:

Default router: 65.30.14.83 (from dhcp)

Default route device: eth0

Act as router? = yes

 

On the Windows box (from winipcfg on Win4Lin/Win98 box)

Hostname: tim.mybox.net

DNS enabled = yes

DNS servers:

24.94.163.113

24.94.165.25

24.94.165.132

Node type: Broadcast

IP address: 192.168.0.2

Subnet mask: 255.255.255.0

Default gateway: 192.168.0.1

 

But now I can't save this setup. Several things are goofed up:

1. If I enable eth0 as a routing device and apply the setup, I lose eth1.

2. I can't save the hostnames as before. If I set the names as before then apply the setup, I lose eth1. And if I change the hostnames and logout or reboot, they keep reverting to this:

Host addresses:

127.0.0.1 localhost.localdomain localhost.mybox.net localhost

192.168.0.1 tim.mybox.net tim

198.168.0.1 localhost.localdomain

instead of my proper hostname. This never happened before.

3. If I re-install eth1 and apply the configuration, the DNS hostname reverts to:

cpe-65-30-14-83.kc.rr.com

4. Along this line, if I open a terminal, I get:

[tim@cpe-65-30-14-83 tim]$

instead of my proper hostname. This never happened before.

 

What else I've done:

1. Disabled the firewall (presently Shorewall) - no change, but none expected.

2. Changed security settings, and gone through all of them manually. Can't find anything that seems problematic.

3. Checked /etc/HOSTNAME. Hostname is properly listed as 'localhost.mybox.net', and during boot is listed as set so.

 

And here's the important parts of ipconfig's present output:

 

eth0 Link encap:Ethernet HWaddr 00:05:5D:49:73:2C

inet addr:65.30.14.83 Bcast:255.255.255.255 Mask:255.255.252.0

inet6 addr: fe80::205:5dff:fe49:732c/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

 

eth1 Link encap:Ethernet HWaddr 00:20:18:89:18:7C

inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::220:18ff:fe89:187c/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

 

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

 

The whole hostname thing kinda throws me. I know a little basic networking, but I'm not cool enough to figure out just what's wrong here. Anyway, I figure this all fails because I must not have NAT or IP masq enabled in Shorewall, but from some Googling on that subject it seems to be a real bear to setup. Any help there would be much appreciated. I always used Bastille before and that makes it a snap, but no can use Bastille now. Bastille is sooo good...maybe try setting this up with Firestarter?...

 

I need a 'net-enabled Win4Lin installation pretty badly because I use it mostly for work, connecting to my office workstation via pcAnywhere. I can do most stuff with VNC, but it doesn't do file transfers or remote printing like pcAnywhere.

HELP!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...