Hi everyone, I am a newbie trying to setup a linux dhcp server and want to run windows applications from a different partition. I installed rh9 and also my paritions but when I try to see them in kde gui I only see the one that rh9 and the swap is on??? :cry:

Dani AI

Generated

This thread actually covers two separate issues: mounting Windows partitions under Red Hat 9 (what pointed out) and running an ISC DHCP server on RH9 (what was asking about). The RH9 DHCP server shipped as the ISC dhcpd daemon: its configuration is placed at /etc/dhcpd.conf, leases are stored under /var/lib/dhcp/dhcpd.leases, and the daemon is controlled with the normal service scripts (/sbin/service dhcpd start/stop). The daemon will fail on first start if a lease file does not exist, so create it (for example, with touch) before starting. (legacy.redhat.com)

A minimal IPv4 example that will work as a starting point (edit addresses to match the network) is shown below. This is the structure to put into the RH9 configuration file:

default-lease-time 600;
max-lease-time 7200;
option domain-name "example.local";
option domain-name-servers 192.168.1.1;

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.50 192.168.1.150;
  option routers 192.168.1.1;
}

After editing, check syntax before starting the server with the dhcpd test option (for example dhcpd -t -cf /etc/dhcpd.conf) so syntax errors won’t prevent the daemon from starting. (docs.oracle.com)

On RH9 the package provides a sample file in /usr/share/doc/dhcp-*/dhcpd.conf.sample; copy that to /etc/dhcpd.conf and edit it rather than creating from scratch. Start the server with /sbin/service dhcpd start and enable it at boot with the standard chkconfig approach (chkconfig dhcpd on or use chkconfig --level 345 dhcpd on for runlevels). If the machine has multiple NICs, restrict dhcpd to the correct interface via /etc/sysconfig/dhcpd (set DHCPDARGS=eth0). The server listens on UDP port 67 by default; open that in any firewall. (legacy.redhat.com)

For the partition/Windows-app questions: as noted the Windows volumes must be mounted (the KDE file manager will only show mounted filesystems). Running Windows applications is a separate topic (as and noted) — WINE is the standard path for many apps; mounting NTFS for read/write on a modern system is best done with ntfs-3g today. For debugging DHCP problems, watch /var/log/messages (dhcpd logs there unless started with -d) and force a client to request a lease (Windows: ipconfig /renew) to confirm behavior. (legacy.redhat.com)

Recommended Answers

All 7 Replies

in order to see your windows partitions under linux, you will have to mount these partitions.
best thing to do is put the location of your windows partition into your /etc/fstab file.

first, make a directory under linux:
mkdir /windirectory

now, add a entry to /etc/fstab
here is an example:
/dev/hda4 /windirectory vfat uid=500,user,rw 0 0

put your linux UID where you see 500. this will allow for your normal user to write to the windows partition.

i'm not sure if i'm understanding what you need. it sounds like you say you want to "run windows applications" in linux. you're probably going to need to learn a lot more than how to mount the drives. ;)

You might be able to run *some* windows applications via WINE (windows emulator for linux)

Oh really? Where can i get this programme?

Do u know if it includes MSN 6?

"Do u know if it includes MSN 6?"
Why would you want to use that all us linux box owners use GAIM

LINUX=OPEN SOURCE
Sign up in here see ya at the BBS

Hope it works for you Good Buddy

Whoa, Big B, lay off Rob The goal of this site is to help each other, not criticize each other.

Sorry ROBIN

I'm aware of GAIM but not if it's feature list matches that of MSN 6. Thanks for the info.

Member Avatar for Member #34670

hi im james i need help becuase im trying to make a linux redhat 9 server and network windows 2000 workstations on the server linux but i dontknow how to setup up a dhcp in graphic mode

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.