Hallo miteinander,
ich habe einen SME 7.2 auf dem kein DHCP läuft. Dies macht ein Server2003.
Leider vergigt der SME bei der Einwahl über PPTP eine Adresse, die belegt ist.
Wie kann ich das ändern ? Ich brauche den Bereich 192.168.1.45-49
Habe dies (siehe unten) gefunden, leider kommt bei dem Befehl
/sbin/e-smith/expand-template /etc/pptp.conf
ein Fehler.
Er kann die Dateietc/pptp.conf nicht finden.
Da ich nicht Linux-bewandert bin, wäre eine genaue Beschreibung sehr nett.
Vielen Dank für Euere Bemühungen im voraus !
Howto Setup VPN to use specified IP addresses
1. Choose the IPs that you want.
2. Make the custom template fragments:
mkdir -p /etc/e-smith/templates-custom/etc/pptpd.conf
3. Create the template fragment needed:
touch /etc/e-smith/templates-custom/etc/pptpd.conf/remoteip
4. Edit the fragment with your favorite editor and insert these contents:
remoteip <ip-range>
ip-range will be the range of IPs that you want to use. It must be in this format:
10.0.0.230-240 would specify IPs 230 through 240 are usable
5. Save the file and expand the template:
/sbin/e-smith/expand-template /etc/pptp.conf
6. Restart the pptpd service:
service pptpd restart