Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] root password and dhcp
Date: Fri, 23 May 2014 14:42:50 -0300	[thread overview]
Message-ID: <537F889A.2030907@zacarias.com.ar> (raw)
In-Reply-To: <CAMm5YqrLgFpGE4m2Mqi+KoSQtYv7O36A2w3DBtUy0p_uaVZdGA@mail.gmail.com>

On 05/23/2014 11:10 AM, cem akpolat wrote:

> Dear all,
> 
> I have compiled a new file system via buildroot and modified the .cpio
> according to my requirements, then repack it and run with the linux kernel. 
> 
> My first question how can I access via ssh without root password? For
> instance in openwrt file system, it is possible to access firstly
> through telnet, if required, you can assign a password after the telnet
> connection. Does buildroot provide the same functionality? 

You could probably wrap something up to do that with some scripting.
Why are you editing the cpio by hand?
You could do all your customization in a post build script.

> Secondly, it seems that the dhcp doesn't work well, because even though
> the users connected to hostapd (I can see the messages), the assignment
> of the ip doesn't take place. What could be possible issue here? I am
> using dnsmaq and dhcp packages and all configurations are defined
> actually in dnsmasq.conf.
> 
> Here is the configuration file content:
> 
> dhcp-leasefile=/var/tmp/dnsmasq.leases
> dhcp-range=wlan0,192.168.126.10,192.168.126.250,1m
> resolv-file=/etc/resolv.dnsmasq.conf

Well, you're somewhat light on details so we're left here to guess.
One possibility is that your dnsmasq package has dhcp support disabled,
another possibility is that your wlan0 doesn't belong to a proper
subnet/hasn't got an ip address configured at all to match that range.
Again, i can just guess without some proper information.
Regards.

  parent reply	other threads:[~2014-05-23 17:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23 14:10 [Buildroot] root password and dhcp cem akpolat
2014-05-23 17:27 ` Thomas De Schampheleire
2014-05-23 17:42 ` Gustavo Zacarias [this message]
     [not found]   ` <839C6E81-EB22-4269-A6B1-CB60169DE097@gmail.com>
2014-05-24  1:36     ` [Buildroot] Fwd: " cem akpolat
2014-05-24  7:17       ` Sagaert Johan
2014-05-24 10:15     ` [Buildroot] " Gustavo Zacarias
2014-05-24 10:29       ` cem akpolat
2014-05-26 10:05         ` cem akpolat
2014-05-26 22:28           ` cem akpolat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537F889A.2030907@zacarias.com.ar \
    --to=gustavo@zacarias.com.ar \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox