[Yast4debian-devel] First YaST2 module working on Debian
Ramon Acedo
ramon@linux-labs.net
Sun, 03 Apr 2005 18:45:39 +0200
Hi!
First of all thanks for your interest Stano.
El mi=E9, 30-03-2005 a las 22:37 +0200, Stanislav Visnovsky escribi=F3:
> D=F2a Piatok 18 Marec 2005 11:46 Ramon Acedo nap=EDsal:
> > Hi all,
> >
> > thanks to pikota's effort and will we already have a module
> > working under Debian. The first module we thought that should
> > work without many problems was the users module and it's finally
> > working.
> >
> > I attach a screenshot of it.
>=20
> Looks great. Do you have a patch for the original sources to see needed=
=20
> changes?
Pikota is working on the patches. We will send them as soon as possible.
> yast2-network might not be a good choice. Basically, SUSE uses a very o=
wn=20
> system to configure network devices. I don't know if anything similar i=
s=20
> available on Debian.=20
>=20
> Also, yast2-network is one of the most complicated modules in YaST, esp=
ecially=20
> with support for all kind of different hardware platforms (like devices=
on=20
> S/390)
Well, in Debian there are configuration files like in SuSE. In SuSE you
have the configuration splitted in files for devices:
regensburg:/mnt/pruebas/etc/sysconfig/network# cat ifcfg-lo
# Loopback (lo) configuration
IPADDR=3D127.0.0.1
NETMASK=3D255.0.0.0
NETWORK=3D127.0.0.0
BROADCAST=3D127.255.255.255
STARTMODE=3Donboot
USERCONTROL=3Dno
regensburg:/mnt/pruebas/etc/sysconfig/network# cat ifcfg-eth-id-00\:00
\:f0\:7e\:52\:9d
BOOTPROTO=3D'static'
BROADCAST=3D'10.0.255.255'
IPADDR=3D'10.0.0.4'
MTU=3D''
NETMASK=3D'255.255.0.0'
NETWORK=3D'10.0.0.0'
REMOTE_IPADDR=3D''
STARTMODE=3D'auto'
UNIQUE=3D'B35A.XdVfcalqCj9'
USERCONTROL=3D'no'
_nm_name=3D'bus-pci-0000:02:00.0'
And in debian you have just one file:
regensburg:/etc/network# cat interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation
auto eth0
iface eth1 inet dhcp
iface eth0 inet static
address 10.0.0.4
netmask 255.255.0.0
gateway 10.0.0.1
But basically is playing with files although I suppose it will be more
than that ;-)
Anyways I agree that it's not an easy module.
>=20
> IMO look at the sound configuration module if you are looking for a har=
dware=20
> modules, or inetd/runlevel editors.
Sure, Pikota has got the nfs module working as well.
Thanks again Stano!
Grusse,
Ramon