Fragen an uns: Unterschied zwischen den Versionen

Aus lugvswiki
Zur Navigation springenZur Suche springen
(Seite für Fragen an die LUG-VS.de angelegt)
 
Zeile 5: Zeile 5:
  
 
Ulf: Hier beantworten wir fragen von Euch an die LUG-VS.de (ähnlich wie in einem Forum).
 
Ulf: Hier beantworten wir fragen von Euch an die LUG-VS.de (ähnlich wie in einem Forum).
 +
 +
------------------------------------------------------------------------------------------------
 +
 +
Hallo
 +
Meine Edubuntuinstallation kommt nicht ins Internet.
 +
Irgendwie habe ich alles soweit vernudelt dass jetzt nur noch ein neuer Anlauf hilft.
 +
Die folgende Beschreibung der Problemlösung stammt aus der unofiziellen Dapperbeschreibung.
 +
 +
--------------------------------------------------------------------------------------------------
 +
 +
DHCP Server
 +
[edit]
 +
How to install DHCP Server for automatic IP addresses assignment
 +
Read #General Notes
 +
Read #How to add extra repositories
 +
e.g. Assumed that "eth0" is the interface for network card
 +
IP Address Range: 192.168.0.100 to 192.168.0.200
 +
Subnet Mask: 255.255.255.0
 +
DNS Servers: 202.188.0.133, 202.188.1.5
 +
Domains: tm.net.my
 +
Gateway Address: 192.168.0.1
 +
sudo apt-get install dhcp3-server
 +
sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup
 +
sudo gedit /etc/default/dhcp3-server
 +
 +
Find this line
 +
...
 +
INTERFACES=""
 +
 +
Replace with the following line
 +
INTERFACES="eth0"
 +
 +
Save the edited file
 +
sudo cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_backup
 +
sudo gedit /etc/dhcp3/dhcpd.conf
 +
 +
Find this section
 +
...
 +
# option definitions common to all supported networks...
 +
option domain-name "example.org";
 +
option domain-name-servers ns1.example.org, ns2.example.org;
 +
 +
default-lease-time 600;
 +
max-lease-time 7200;
 +
...
 +
 +
Replace with the following lines
 +
# option definitions common to all supported networks...
 +
#option domain-name "example.org";
 +
#option domain-name-servers ns1.example.org, ns2.example.org;
 +
 +
#default-lease-time 600;
 +
#max-lease-time 7200;
 +
 +
Find this section
 +
...
 +
# A slightly different configuration for an internal subnet.
 +
#subnet 10.5.5.0 netmask 255.255.255.224 {
 +
# range 10.5.5.26 10.5.5.30;
 +
# option domain-name-servers ns1.internal.example.org;
 +
# option domain-name "internal.example.org";
 +
# option routers 10.5.5.1;
 +
# option broadcast-address 10.5.5.31;
 +
# default-lease-time 600;
 +
# max-lease-time 7200;
 +
#}
 +
...
 +
 +
Replace with the following lines
 +
# A slightly different configuration for an internal subnet.
 +
subnet 192.168.0.0 netmask 255.255.255.0 {
 +
range 192.168.0.100 192.168.0.200;
 +
option domain-name-servers 202.188.0.133, 202.188.1.5;
 +
option domain-name "tm.net.my";
 +
option routers 192.168.0.1;
 +
option broadcast-address 192.168.0.255;
 +
default-lease-time 600;
 +
max-lease-time 7200;
 +
}
 +
 +
Save the edited file
 +
sudo /etc/init.d/dhcp3-server restart
 +
 +
------------------------------------------------------------------------------------
 +
 +
später kommt genaueres (falls das so in Ordnung ist)
 +
mvG vom ewigen Lehrling
  
 
=== Betreff Deiner Frage ===
 
=== Betreff Deiner Frage ===

Version vom 21. Juni 2006, 12:42 Uhr

Fragen an uns

Sinn dieser Seite

Was stellen wir uns hier vor?

Ulf: Hier beantworten wir fragen von Euch an die LUG-VS.de (ähnlich wie in einem Forum).


Hallo Meine Edubuntuinstallation kommt nicht ins Internet. Irgendwie habe ich alles soweit vernudelt dass jetzt nur noch ein neuer Anlauf hilft. Die folgende Beschreibung der Problemlösung stammt aus der unofiziellen Dapperbeschreibung.


DHCP Server [edit]

How to install DHCP Server for automatic IP addresses assignment 

Read #General Notes Read #How to add extra repositories e.g. Assumed that "eth0" is the interface for network card

IP Address Range: 192.168.0.100 to 192.168.0.200 
Subnet Mask: 255.255.255.0 
DNS Servers: 202.188.0.133, 202.188.1.5 
Domains: tm.net.my 
Gateway Address: 192.168.0.1 

sudo apt-get install dhcp3-server sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup sudo gedit /etc/default/dhcp3-server

Find this line ... INTERFACES=""

Replace with the following line INTERFACES="eth0"

Save the edited file sudo cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_backup sudo gedit /etc/dhcp3/dhcpd.conf

Find this section ...

  1. option definitions common to all supported networks...

option domain-name "example.org"; option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 600; max-lease-time 7200; ...

Replace with the following lines

  1. option definitions common to all supported networks...
  2. option domain-name "example.org";
  3. option domain-name-servers ns1.example.org, ns2.example.org;
  1. default-lease-time 600;
  2. max-lease-time 7200;

Find this section ...

  1. A slightly different configuration for an internal subnet.
  2. subnet 10.5.5.0 netmask 255.255.255.224 {
  3. range 10.5.5.26 10.5.5.30;
  4. option domain-name-servers ns1.internal.example.org;
  5. option domain-name "internal.example.org";
  6. option routers 10.5.5.1;
  7. option broadcast-address 10.5.5.31;
  8. default-lease-time 600;
  9. max-lease-time 7200;
  10. }

...

Replace with the following lines

  1. A slightly different configuration for an internal subnet.

subnet 192.168.0.0 netmask 255.255.255.0 {

range 192.168.0.100 192.168.0.200;
option domain-name-servers 202.188.0.133, 202.188.1.5;
option domain-name "tm.net.my";
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 600;
max-lease-time 7200;

}

Save the edited file sudo /etc/init.d/dhcp3-server restart


später kommt genaueres (falls das so in Ordnung ist) mvG vom ewigen Lehrling

Betreff Deiner Frage

Deine Frage.

Ulf: Unsere Antwort.