New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Debian Minimal Installation

Got problems with your B2 or B3? Share and get helped!
UserNew
Posts: 19
Joined: 30 Jan 2015, 15:00

Debian Minimal Installation

Post by UserNew »

Can Hello Beautiful Good evening could someone maybe help I have the following problem I had debian minimal images loaded from the forum, it spielet the imges also only works not connect because no DHCP ip myrouter change because he forgives it yourself already the file / etc / network / interface changed and played back on it but he does not combine both had tried port can someone tell me how this is to make would like the Debian minimal installiern Yours sincerely sorry my English is not so good, unfortunately Google translator :?
stasheck
Posts: 126
Joined: 15 Jan 2014, 13:13

Re: Debian Minimal Installation

Post by stasheck »

Please try writing in your own language, maybe someone here speaks it and can help you.
UserNew
Posts: 19
Joined: 30 Jan 2015, 15:00

Re: Debian Minimal Installation

Post by UserNew »

Guten Abend Ich möchte gern das Debian minimal install image installieren per usb methode das was hier im Forum vorhanden ist Funktioniert bei mir nicht ich habe das model Excito B3 ohne Wifi hatte auch schon das recovery images geladen und die .tar.gz datei mit dem hier vorhanden Debian minimal imges getauscht und versucht zu installieren habe aber dann kein zugriff zu den B3 deswegen suche ich ein Debian minimal images was die ip automatisch vom Router bezieht wäre nett wenn mir jemand helfen könnte
Stryker
Posts: 56
Joined: 17 Oct 2013, 11:03

Re: Debian Minimal Installation

Post by Stryker »

I will handle this. I just re-translated it back to German to make any sense of it.
Seems to be an issue with the default network-configuration of Mouette's minimal wheezy images.

-- German --
Wenn du einem der Ethernet Ports die Addresse per DHCP von deinem Router zuweisen lassen willst, musst du dafür folgendes in die /etc/network/interfaces schreiben:

Code: Select all

auto eth0
iface eth0 inet dhcp
Die erste Zeile besagt, dass das Interface beim Booten aktiviert werden soll.
Die zweite Zeile gibt an, dass eth0 für IPv4 per DHCP konfiguriert werden soll.

Dass das Installieren beim B3 nichts anderes als das Entpacken des Archivs auf der Root-Partition ist, weisst du, ja?
Der Installer macht nichts anderes als vorher zu Partitionieren und dann die Payload (Das Archiv) auf der ersten Partition auszupacken.
UserNew
Posts: 19
Joined: 30 Jan 2015, 15:00

Re: Debian Minimal Installation

Post by UserNew »

Hallo Stryker Danke für deine Antwort das problem ist ja nur wenn ich das im Mouette's minimal wheezy images
ändere

Code: Select all

auto eth0
iface eth0 inet dhcp
und auf den usb stick wieder schreibe und versuche zu installieren Blick der B3 an den wan und lan anschluß und vorne wo Blau sein sollte blickt er Blau rot oder Pink :?
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Debian Minimal Installation

Post by Gordon »

Good catch on the original language being German.

I like to point out however that eth0 is the WAN port as indicated on the outside, and eth1 the LAN port. I would be amazed if eth0 in MouettE's was not configured for dhcp already.
UserNew
Posts: 19
Joined: 30 Jan 2015, 15:00

Re: Debian Minimal Installation

Post by UserNew »

So erstmal Danke das lag an der Netzwerk config jetzt stehe ich aber vor ein neuem problem das Password für die Debian minimal ist ja nicht excito ich habe die PermitRootLogin umgestellt aber bekomme kein zugriff da das passowrt nicht stimmt ich könnte mir jemand vileicht verraten wie dies ist ?
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Debian Minimal Installation

Post by Gordon »

Hallo,

Ich hab soeben "minimal wheezy password" im Suchfenster eingegeben und das sagt das Password sollte 'excito' sein. Du sagst du hattest PermitRootLogin umgestellt, aber wie und wo hast du das getan?
UserNew
Posts: 19
Joined: 30 Jan 2015, 15:00

Re: Debian Minimal Installation

Post by UserNew »

Hallo Gorden ich hab die Debian minimal entpackt und im ordner ssh die config geändert (PermitRootLogin) und wieder gepackt aber das passwort funktioniert nicht ich hatte ja das problem das ich eigentlich nur die network config ändern wollte dies hat ja auch so geklappt jetzt hab ich schonmal ssh verbindung aber das passwort excito funktioniert ebend leider nicht
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Debian Minimal Installation

Post by Ubi »

the PermitRootLogin is only useful of you want to directly log on as root. Better to log in as a regular user and type "su -" at the command prompt. Please try that first and give the exact error message you receive
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Debian Minimal Installation

Post by Gordon »

Aha! Versuchst du mit 'su' root zu bekommen? Kannst du mal schauen in /etc/pam.d/su ob das eine Zeile gebt die sagt:

Code: Select all

auth       required     pam_wheel.so use_uid
Diese Zeile bedeutet das nur Mitglieder der 'wheel' Gruppe 'su' benutzen können. Das geht also nicht.

Mit PermitRootLogin freigegeben kannst du direkt als root anmelden.
Last edited by Gordon on 03 Feb 2015, 10:47, edited 1 time in total.
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Debian Minimal Installation

Post by Ubi »

If you can edit /etc/ssh/sshd_config then you already are root.

And in that case you can just as well edit /etc/groups, as well as change the root password. Both are better than opening your machine to external SSH from root. Also, you can read /var/log/secure to see why your login is failing.

This story is getting really quite strange and we're not getting the whole picture.
UserNew
Posts: 19
Joined: 30 Jan 2015, 15:00

Re: Debian Minimal Installation

Post by UserNew »

Hallo nicht falsch verstehen also ich beschreibe jetzt mal was genau mein problem ist ich möchte gern das images b3-nowifi-wheezy-minimal-20130705-2346.tar.gz installieren aber da in der Network config eine feste Ip vergeben wurde hab ich das images entpackt und die datei \etc\network\interfaces geändert das er eine automatische ip bezieht das hat so funktionert nur das problem ist wenn ich per ssh zugreifen möchte funktionert das passwort excito nicht dann hab icn das packet wieder entpackt und die ssh config geändert damit ich root zugriff via ssh bekomme verbindung wird zwar aufgebaut aber da ich kein passwort habe (funktioniert) kann ich per ssh nicht drauf zugreifen
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Debian Minimal Installation

Post by Ubi »

I think you're making life very difficult for yourself without reason:

1) why not change /etc/groups to add your username to wheel
2) why not change /etc/sudoers to add users to the password-free sudo group
3) why not just change the password for root by editing /etc/shadow
UserNew
Posts: 19
Joined: 30 Jan 2015, 15:00

Re: Debian Minimal Installation

Post by UserNew »

ich gibt's auf :? Funktioniert leider nicht kann mir vieleicht bitte einer ein debian minimal senden wo die Netzwerk config auf DHCP gestellt ist und ich mit ssh als root drauf zugreifen kann ? dafür wäre ich sehr dankbar
Post Reply