[linux-l] linux-l: [Debian] serial-line via ethernet && dpkg

Ivan Villanueva iv at artificialidea.com
Sa Apr 19 18:47:34 CEST 2003


On Sat, Apr 19, 2003 at 04:48:15PM +0200, dietmar.bremser at it-rust.de wrote:
> Hallo,
> 
> ich habe zwei Fragen:
> 1)
> Hat jemand eine Idee, wie man zwei Rechner mittels ethernet
> direkt unter Linux verbindet?
> 
> Folgende Aktivitäten habe ich schon unternommen:
> -----------------------------------------------
> Rechner 1:
> IP 192.168.0.1 Netmask: 255.255.255.0
> localnet: 192.168.0.0
> 
> Rechner 2:
> IP 192.168.0.2 Netmask: 255.255.255.0
> localnet: 192.168.0.0
> 
> - Rechner verbunden über ''cross-wire-cable''
> - beide Rechner sind mit Debian und zum Test mit
>   Windows 2000 ausgestattet
> - beide Rechner können von:
>     -> Windows 2000 <-> Windows 2000 und
>     -> Windows 2000 <-(Samba)-> Linux
>   miteinander kommunizieren (Ping und Dateidienste)
> -----------------------------------------------
> 
> Wenn beide Systeme aber mit Linux betrieben werden,
> ist ein Ping an das jeweils andere System nicht möglich.
> 
> Ich vermute, dass dieses Problem an der ''Auto-Negotiation''
> der Netzwerkkarten liegt.
> Zumindest war dies auch in Verbindung mit Windows 2000 so.
> 
> Hat nun jemand eine Idee, wie man diese Negotiation der
> Netzwerkkarten unter Linux manuell einstellen kann oder
> wo das Problem noch liegen könnte?

Die Parameter für die Modulen bekommt man mit "modinfo"
> 
> 2)
> Weiß jemand, ob es bei Debian ein Paket gibt, mit dem man
> einen ''Schnappschuss'' vom gegenwärtig installierten System
> anlegen kann, das man für eine weitere Installation nutzen
> kann?
Installing another system and want to have the same set of packages on
your current system (or just want to take a backup of your packages)?

On the machine that you already installed woody with a bunch of packages
do,

dpkg --get-selections | sed -e 's/hold$/install/' > yourpkgs.list

The sed ensures that the packages even on hold get installed properly
(take it out if you don't want this). Take this file to the other system
where you just installed with a fresh woody.

dpkg --set-selections < yourpkgs.list

Start inserting the woody cds (or the appropriate sources) and do
apt-get dselect-upgrade 

Gruß,
Ivan Villanueva



Mehr Informationen über die Mailingliste linux-l