You are not logged in.
Pages: 1
Well, my Arch Linux server is serving as a router for my home network right now, but I have a few problems that I can't see a solution to.
1. Dhcpd refuses to start. My config is:
subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option domain-name-servers 208.67.22.222, 208.67.220.220;
range 192.168.1.100 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
}
but it shows all the read the readme and this is our website crap then just says exiting. It doesn't give an error, it just exits. No idea, but I checked the file permissions.
2. Interfaces
I have two ethernet interfaces, of course, but they somehow switch. Ex. today eth0 is the top ethernet card but yesterday it was the bottom one. Not sure if this is fixable by linux, but it really is a pain in the *** to try to fix it every time (I have to turn my modem off for 5 minutes between dhcp attempts or they always fail because my ISP's network is screwy).
3. /var/spool
I managed to get a color printer working in samba, but the /var/spool directory needs to be chmodded to 777 to print, and every so often even without a reboot the directory will reset and will become unwriteable to clients.
Offline
for # 2. read /etc/udev/readme-udev-arch.txt
It tells you how you can set up persistent mappings based on MAC.
for # 1. Try dnsmasq. It is much easier to config, and if you have a simple environment, it works much better. If you need all the bells and whistles of dhcpd..then maybe try starting the daemon manually, instead of using the init script. Maybe it will output something more useful to stdout.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
for #3, you could try changing the spool directory. I think the spool directory usually has the sticky bit set..but honestly..i don't do much samba printing.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
1. dnsmasq is excellent and does exactly what I need.
on a side note, I was starting dhcpd manually, but it still only gave the check our website out, read the readme, exiting problem.
2. That did the trick very easily and works fine. Thank you.
3. Is there anyway I could set it so the permissions would stay?
Offline
not sure about #3 arew264.
in my samba config, the default spool directory looks like it is set to /var/spool/samba
Checking the permissions on that dir, it looks like it is set to ...
chmod 1777 /var/spool/samba
above and beyond that, I have no idea. perhaps someone else with more samba printing knowledge can fill that one in for ya.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
It's not a samba thing. Samba is clearly using /var/spool/samba for the spool directory.
How can I set this folder so the permissions don't change? There must be a way... I hope...
Offline
Pages: 1