LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with Mandrake 9.1 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-mandrake-9-1-a-60022/)

bLaDe 05-15-2003 10:01 PM

Problem with Mandrake 9.1
 
Hi guys,
This isn't exactly a current problem but I can see it arising again if I try another upgrade.

I am currently running Mandrake 9.0 which is working well and without any dramas but I liked the look of Gnome 2 (my choice of GUI) :)

Anyway I decided I'll do an upgrade which seemed to go well until I went to use the net. I had no connection and I couldn't get it to connect nor could I ping anything besides local machines on the network which it is sharing the connection for.

My ISP uses DHCP to allocate IP addresses which hasn't been a problem before but when I enabled the connection in Mandrake 9.1 it would change my hostname to dhcp-106-46 when infact I set the hostname to 'holden'. I couldn't work out where it got the 106-46 numbers from either as it was nothing like what my IP is/was.

I thought ok something must have gone wrong with the upgrade and tried a format and fresh install, the same thing happened with the hostname set to dhcp-106-46 again.

I am wondering is this a common problem? also if I was to attempt another upgrade shortly how could I overcome this problem?

Any help would be great.

Thanks
Darren

BigNate 05-16-2003 06:49 AM

try configuring you connection with a static private ip IF you are behind a firewall, also make sure you have set the proper gateway address of said firewall.

MasterC 05-16-2003 07:28 AM

Well not necessarily having to go with static IP's if DHCP is working on his system and his router is capable of DHCP.

So...

Assuming you are using a router to connect all your machines, and it has DHCP enabled (or is capable and you enable it) you *should* be able to auto config your network all for you. The IP will be private as Nate said, but it doesn't have to be static unless you are going to be using your box as a server (in which case port forwarding is done to static IP's usually).

How is your network setup, and did you do it? If so, tell us a bit about how it runs (all your boxes DHCP, static or what?).

Cool

BigNate 05-16-2003 07:46 AM

Quote:

Originally posted by MasterC
Well not necessarily having to go with static IP's if DHCP is working on his system and his router is capable of DHCP.
True enough...I would think DHCP would work (if he/she has it), however on my home network, I can't use my dhcp enabled router...for some reason all my redhat machines refuse to accept the addresses...so I actually have a windows box that gets assigned and 3 RH boxs that I had to manually configure with static IP's...I know it's a strange proposition, but if you can't make DHCP work (which is the optimal set-up) then you might have to give static IP's a go).

bLaDe 05-16-2003 04:28 PM

Sorry guys I should have been more specific.

Here's my setup

Mandrake 9.0 System

eth0 - SMC PCI Network Card (connected to Cable modem) with DHCP setup to get IP from ISP. Currently I'm using IP 144.136.193.xxx

eth1 - Netgear PCI Network Card, connected to 10/100 Switch with IP address 192.168.1.1

I used drakconnect to share the internet for my other machines which has worked flawlessly for quite a number of months in conjunction with Shorewall firewall which is installed by default.

The machines are setup as follows:

Windows XP Machine #1 - 3Com PCMCIA Card using static IP 192.168.1.5

Windows XP Machine #2 - Netgear PCI Network Card using static IP 192.168.1.8

Red Hat 7.3 Machine #3 - Not really used and generally speaking is really only used for studies, SMC PCI Ethernet Card using static IP 192.168.1.12

Gateway on all machines are set to 192.168.1.1 with subnet mask of 255.255.255.0

Basically I only ran into problems when the upgrade took place, I was thinking perhaps 9.0 handled things differently to 9.1 but from what I could see it was the same, not that far from being a n00b when it comes to linux.

My IP addresses are static for a few reasons
1) On Windows machine #2 I have an ftp setup
2) Easier to manage and I know which IP is from which PC


All times are GMT -5. The time now is 07:16 PM.