On Thu, 23 Feb 2012 07:42:09 -0500
Genes MailLists wrote:
> On 02/23/2012 03:25 AM, Jesse Juhani Jaara wrote:
> > Something like
> >
> > if `ip link show eth0 | grep -q 'state UP'`; then
> > you mount command hete
> > fi
> >
> > in /etc/rc.local maybe
>
> You could also use 'arp' to check
On 02/23/12 at 10:04am, Alfredo Palhares wrote:
> Hello Pete,
>
> > When i am at home i would like the laptop to mount my NAS drive on
> > boot always connect via ETH cable never wiFi but out if i connect
> > via cable or wirless do not try to mount NAS drive , My thoughts
> > Would it be pos
On 02/23/2012 03:25 AM, Jesse Juhani Jaara wrote:
> Something like
>
> if `ip link show eth0 | grep -q 'state UP'`; then
> you mount command hete
> fi
>
> in /etc/rc.local maybe
You could also use 'arp' to check for your NAS mac address on the
interface before issuing the mount command.
g
Hello Pete,
> When i am at home i would like the laptop to mount my NAS drive on
> boot always connect via ETH cable never wiFi but out if i connect
> via cable or wirless do not try to mount NAS drive , My thoughts
> Would it be possible to script it so that it checks for an specific MAC
> a
Something like
if `ip link show eth0 | grep -q 'state UP'`; then
you mount command hete
fi
in /etc/rc.local maybe
signature.asc
Description: This is a digitally signed message part.
Hi ..
Some i would like to do with the laptop when at home but not out and
about
When i am at home i would like the laptop to mount my NAS drive on
boot always connect via ETH cable never wiFi but out if i connect
via cable or wirless do not try to mount NAS drive , My thoughts
Would it be
6 matches
Mail list logo