Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#215180 - 03/05/2004 14:51 Whats wrong with my config.ini? Can't disable DHCP
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
What am I doing wrong in my config.ini? I'm trying to see that I have things set up right and trying to see if I change things from WORK to HOME that the DHCP server turns on and off to make sure I have the config file right. So no matter what I do I can't get the DHCP server to turn off. I would think that with this config, the DHCP server would be turned off if WORK or HOME was set. Am I right? If anyone can hit me upside the head and clue me in I'd appreciate it. :-)

[Network]
;@DC DHCP=0
;@AC DHCP=0
;@WORK DHCP=0
;@HOME DHCP=0
[output]
notify=1
[synchronise]
seq_num=91
[Options]
Name=Name
[User Info]
Email=email@email.com
Phone=111-111-1111
Name=Some dude
[wendy]
flag_amount=0
[custom]
wendy=
[searches]
amount=0
[controls]
stalk_side=none
[hush]
hushpercent=10
[display]
visual_names=1
caching=0
[volumecap]
enabled=1
[kenwood]
disabled=1
[ramp]
disabled=0
[menu]
quit=0
sort_playlist=1
[tuner]
region=us
[VisualFavourites_AM]
count=0
[VisualFavourites_AUX]
count=0
[VisualFavourites_DSP]
count=0
[VisualFavourites_FM]
count=0
[sense]
muteaction=0
mute=-1
[power]
off_timeout=60000
[aux]
source=
title=
artist=
[hijack]
disable_emplode=0
dc_servers=0
spindown_seconds=30
fake_tuner=0
trace_tuner=0
old_style=0
standby_minutes=30
temperature_correction=-4
suppress_notify=0
max_connections=4
kftpd_control_port=21
kftpd_data_port=20
kftpd_password=passwordhere
kftpd_verbose=1
rootdir_dotdot=1
kftpd_show_dotfiles=1
khttpd_port=80
khttpd_verbose=1
khttpd_show_dotfiles=1
VolAdjLow=0x1800,100,0x1000,25,60
VolAdjMed=0x2000,409,0x1000,27,70
VolAdjHigh=0x2000,3000,0xc00,30,80
volume_boost_FM=0
volume_boost_AM=0
volume_boost_AUX=0
volume_boost_MP3=0
disable_bassboost_FM=1
khttpd_basic=guest:guest
khttpd_full=name:password
;@WORK disable_emplode=1

Top
#215181 - 03/05/2004 15:00 Re: Whats wrong with my config.ini? Can't disable [Re: Allistah]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
My guess is that "Network" needs to be "network". That is, with a lower-case "n".
_________________________
Bitt Faulk

Top
#215182 - 03/05/2004 15:12 Re: Whats wrong with my config.ini? Can't disable [Re: wfaulk]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
I changed it to a lower case n and it didn't make any difference. :-(

Top
#215183 - 03/05/2004 15:17 Re: Whats wrong with my config.ini? Can't disable [Re: Allistah]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
Um...

Maybe it's doing DHCP because there's not a fixed IP entry anywhere in there?

If you're not doing DHCP then you need to feed it an IP address to use...
_________________________
Tony Fabris

Top
#215184 - 03/05/2004 15:18 Re: Whats wrong with my config.ini? Can't disable [Re: Allistah]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Looking around, it seems that everyone else has it as a capital "N", too. Try throwing a plain non-Hijacked DHCP=0 into the network section. Even mlord has this.
_________________________
Bitt Faulk

Top
#215185 - 03/05/2004 15:24 Re: Whats wrong with my config.ini? Can't disable [Re: tfabris]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Makes sense. I didn't know that this was the defaulting behavior. I was thinking that turning off DHCP without any static info set would pretty much disable the networking. Not that I want to do that, I was just looking at an easy way to make sure my ;@WORK and ;@HOME lines are functioning right.

Top
#215186 - 03/05/2004 15:27 Re: Whats wrong with my config.ini? Can't disable [Re: Allistah]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
A proper way of doing it would be:

[Network]
Gateway=0.0.0.0
Netmask=255.255.255.0
IPAddress=192.168.0.200
;@HOME DHCP=1
;@WORK DHCP=0

No need to conditionally-execute the fixed address settings, they will simply get ignored for DHCP=1.
_________________________
Tony Fabris

Top
#215187 - 03/05/2004 15:35 Re: Whats wrong with my config.ini? Can't disable [Re: tfabris]
Allistah
journeyman

Registered: 13/01/2002
Posts: 77
Ah thanks. That gives me the effect I was after to test if its working or not. Thanks for that. Now I'll just change the DHCP values to what I really want.

Thanks again!

Top