[nzlug] Samba Passwords
Moyal, Ari
Ari.Moyal at nz.unisys.com
Tue Mar 6 11:19:38 NZDT 2007
-----Original Message-----
From: nzlug-bounces at linux.net.nz [mailto:nzlug-bounces at linux.net.nz] On Behalf Of nzlug-request at linux.net.nz
Sent: Tuesday, 6 March 2007 11:07 a.m.
To: nzlug at linux.net.nz
Subject: NZLUG Digest, Vol 21, Issue 5
Send NZLUG mailing list submissions to
nzlug at linux.net.nz
To subscribe or unsubscribe via the World Wide Web, visit
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
or, via email, send a message with subject or body 'help' to
nzlug-request at linux.net.nz
You can reach the person managing the list at
nzlug-owner at linux.net.nz
When replying, please edit your Subject line so it is more specific
than "Re: Contents of NZLUG digest..."
Today's Topics:
1. RE: Samba Passwords (Craig Box)
2. xorg configuration (Roland Hill)
3. [Slightly OT] DynDNS (Roland Hill)
4. Re: [Slightly OT] DynDNS (Simon Green)
5. Re: [Slightly OT] DynDNS (Roland Hill)
6. Re: assign host name to computer (Cliff Pratt)
7. Re: Editor Wars, Again (was Re: [nzlug] Web storage) (Robert)
8. Re: xorg configuration (Michael Adams)
9. Re: mdadm and lvm on a live distro? (Volker Kuhlmann)
10. Re: xorg configuration (Roland Hill)
11. RE: NZLUG Digest, Vol 21, Issue 4 (Kim Hartley)
12. Gaim / ADSL access issue (was: [nzlug] RE: NZLUG Digest, Vol
21, Issue 4) (Simon Green)
----------------------------------------------------------------------
Message: 1
Date: Mon, 5 Mar 2007 16:52:27 +1300
From: "Craig Box" <craig at dubculture.co.nz>
Subject: RE: [nzlug] Samba Passwords
To: "'NZLUG Mailing List'" <nzlug at linux.net.nz>
Message-ID: <003701c75ed9$b9720500$2c560f00$@co.nz>
Content-Type: text/plain; charset="us-ascii"
> Does anyone know where samba stashes away user information? I.e. when I
run:
> smbpasswd -a username to add a user for samba access but does anyone know
> where this information is stored?
Generally, in a TDB file. Debian keeps them in /var/lib/samba/.
Craig
On Redhat the Samba-encrypted-password file, smbpasswd, is stored by default in /usr/local/samba/private.
Ari
------------------------------
Message: 2
Date: Mon, 5 Mar 2007 17:01:44 +1300
From: Roland Hill <rolandh at ak.planet.gen.nz>
Subject: [nzlug] xorg configuration
To: nzlug at linux.net.nz
Message-ID: <20070305170144.7e72df21 at jr02.hillnet.local>
Content-Type: text/plain; charset=US-ASCII
Hi,
My system is Kubuntu Edgy.
I'm running an nvidia TNT64 video card with the legacy drivers provided
in the Universe/Multiverse repositories.
No problems, every time my PC boots I get the nvidia splash.
However, in order to get glx working I have to manually add 'option' to
the "Device" section as follows:
Section "Device"
identifier "NVIDIA Corporation NV5M64 [RIVA TNT2 .....<cut to fit>
busid "PCI:1:0:0"
driver "nvidia"
option "AllowGLXWithComposite" "1"
screen 0
EndSection
Then, in order for the screen savers to work I have to enable power
saving on the monitor.
This is all good, but my PC gets turned off at night, and all these
changes are lost once the machine is powered up again.
I thought if I manually edited the xorg.conf file it wouldn't get
re-written.
Is there a way to solve this, as it's getting a little tiresome :-).
--
Regards,
Roland
------------------------------
Message: 3
Date: Mon, 05 Mar 2007 17:18:39 +1300
From: Roland Hill <rolandh at ak.planet.gen.nz>
Subject: [nzlug] [Slightly OT] DynDNS
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB9A1F.8000502 at hillnet.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I'll try to make this OT by saying I'm running Kubuntu Edgy.
I applied for an account with DynDNS on Friday afternoon, and have still
heard nothing.
(Why DynDNS....because I can set it up on my linksys router)
Just wondered if anyone here uses them, and if so how was the account
application process?
Guess I expected an automated email to replay to within minutes of
requesting an account, but I still haven't seen anything.
--
Regards,
Roland
------------------------------
Message: 4
Date: Mon, 5 Mar 2007 17:21:36 +1300
From: "Simon Green" <simon at simongreen.net>
Subject: Re: [nzlug] [Slightly OT] DynDNS
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
<abec0860703042021q1e8ba6e0r7500c647e23136b1 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 05/03/07, Roland Hill <rolandh at ak.planet.gen.nz> wrote:
> I'll try to make this OT by saying I'm running Kubuntu Edgy.
I assume you mean on topic :)
> I applied for an account with DynDNS on Friday afternoon, and have still
> heard nothing.
>
> (Why DynDNS....because I can set it up on my linksys router)
>
> Just wondered if anyone here uses them, and if so how was the account
> application process?
Got mine going in under ten minutes. They send out an e-mail to the
address you registered with. You need to click on an activation link
in that e-mail. Check your Spam and/or Deleted items for that message
maybe.
Once you have set your account up, then you can add services (like Dynamic DNS).
-- simon
------------------------------
Message: 5
Date: Mon, 05 Mar 2007 17:29:04 +1300
From: Roland Hill <rolandh at pl.net>
Subject: Re: [nzlug] [Slightly OT] DynDNS
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB9C90.5030107 at pl.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Simon Green wrote:
> On 05/03/07, Roland Hill <rolandh at ak.planet.gen.nz> wrote:
>> I'll try to make this OT by saying I'm running Kubuntu Edgy.
>
> I assume you mean on topic :)
Mmmm, hand hits forehead!
> Got mine going in under ten minutes. They send out an e-mail to the
> address you registered with. You need to click on an activation link
> in that e-mail. Check your Spam and/or Deleted items for that message
> maybe.
Just what I thought should have happened.
I'll check with my ISP as they upgraded their spam detection. It seems
to work well, so much so I have disabled Spamassassin at the moment.
Wonder if it has worked too well......
--
Regards,
Roland
------------------------------
Message: 6
Date: Mon, 05 Mar 2007 19:17:45 +1300
From: Cliff Pratt <enkidu at cliffp.com>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EBB609.8060500 at cliffp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
What do you mean by "fixed name". You assign the name to the PC when
setting it up. Do you mean that you want to be able to "ping bobspc" or
"ping fredspc" regardless of the IP address of bobspc and fredspc?
If so, you should realise that the IP is how the packets are routed, so
when you say "ping bobspc" the name bobspc has to be resolved to an IP
address. If the IP address of bobspc changes your PC will not be able to
find bobspc.
So the problem comes down to fixing the IP to the PCs. If bobspc always
has a particular IP address then there is no problem.
Your router is assigning the IP address so either you stop it doing so
and set the IP address in the PCs yourself or you configure it to always
give the same IP address to your PCs each time. Others have given hints
on how to do that.
Cheers,
Cliff
anru chen wrote:
> yes, at most time you get a fixed IP, but i just want to know is
> there any thing i can do to get a fixed name with dynamic IP.
>
> regards,
>
> anru
>
> On 3/5/07, Michal Ludvig <michal at logix.cz> wrote:
>> anru chen wrote:
>> > hi all:
>> >
>> > we have a small network, all computers are connected to a route, each
>> > time when a computer be booted up , the router will assigh a new ip to
>> > the computer.
>> >
>> > my question is how can i assign a fixed name to a computer that got
>> > different IP at each time?
>>
>> Does the router not assign the same IP every time? It should do... ;-)
>>
>> And even your PC can request the same address it used to have last time
>> and, unless there is a conflict on the net, the dhcp-server should just
>> ACK it.
>>
>> Anyway, if your router/dhcp-server is really that uncooperative, how
>> about dropping DHCP and assigning a static IP to your PC? That should
>> fix your problem.
>>
>> Michal
>>
>> _______________________________________________
>> NZLUG mailing list NZLUG at linux.net.nz
>> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>>
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
------------------------------
Message: 7
Date: Mon, 05 Mar 2007 19:20:16 +1300
From: Robert <razza at razza.org>
Subject: Re: Editor Wars, Again (was Re: [nzlug] Web storage)
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EBB6A0.2040303 at razza.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
invoking pico -w (or nano -w) should overcome that pesky line
wrap/carriage return issue with long lines :) silly idea to have
line-wrap on by default...
Rob
Mark Foster wrote:
> Daniel Lawson wrote:
>>> No, you don't get the analogy. What if the feature you require is
>>> "emacs
>>> key bindings"? Should you still use vi then?
>>>
>>
>>
>> I have two things to say.
>>
>> First of all, Emacs keybindings make you retarded[1].
>>
>> Secondly, there's an emacs mode for vim[2]. Not vi, I know, but if you
>> don't have vim available there are good chances you don't have emacs
>> available either.
>>
>>
>> Finally, wrap appropriate humour-indicating tags wherever necessary :)
>>
>> [1] http://www.tleaves.com/weblog/archives/000344.html
>> [2] http://algorithm.com.au/code/vimacs/about/index.html
>>
>
> Good stuff Daniel :) I can sympathise with [1] - well, at least,
> Empathise... not being an emacs man myself. (I think I used something
> similar as a BBS message editor years ago...)
>
> Btw, I use vim, not vi. But knowing enough vi to use vi where vim
> isnt provided, is still useful. ;)
>
> (When you're editing plain text files, what do you need exactly?
> Quick find, delete line, type, backspace, support for 'home' and 'end'
> and arrow keys (or equivalent)...
>
> I managed to grasp G and g instead of Ctrl-Home and Ctrl-End...
>
>
> The reason I ditched Pico in the end was two fold
>
> 1) Ctrl-keys struck me as fiddly after a while,
>
> 2) It didn't deal with long lines very nicely. Made a hash of a few
> config files by adding line returns...
>
>
> Mark.
>
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
> !DSPAM:45d54fcb141791238162646!
>
>
>
------------------------------
Message: 8
Date: Mon, 05 Mar 2007 20:02:06 +1300
From: Michael Adams <linux_mike at paradise.net.nz>
Subject: Re: [nzlug] xorg configuration
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <20070305200206.2083b5ac.linux_mike at paradise.net.nz>
Content-Type: text/plain; charset=US-ASCII
On Mon, 05 Mar 2007 17:01:44 +1300
Roland Hill wrote:
> Hi,
>
> My system is Kubuntu Edgy.
>
> I'm running an nvidia TNT64 video card with the legacy drivers
> provided in the Universe/Multiverse repositories.
>
> No problems, every time my PC boots I get the nvidia splash.
>
> However, in order to get glx working I have to manually add 'option'
> to the "Device" section as follows:
>
> Section "Device"
> identifier "NVIDIA Corporation NV5M64 [RIVA TNT2 .....<cut to fit>
> busid "PCI:1:0:0"
> driver "nvidia"
> option "AllowGLXWithComposite" "1"
> screen 0
> EndSection
>
> Then, in order for the screen savers to work I have to enable power
> saving on the monitor.
>
> This is all good, but my PC gets turned off at night, and all these
> changes are lost once the machine is powered up again.
>
> I thought if I manually edited the xorg.conf file it wouldn't get
> re-written.
>
chmod 555 xorg.conf
--
Michael
Those that can, do; those that can't, teach.
------------------------------
Message: 9
Date: Mon, 5 Mar 2007 22:15:41 +1300
From: Volker Kuhlmann <hidden at paradise.net.nz>
Subject: Re: [nzlug] mdadm and lvm on a live distro?
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <20070305091540.GC7067 at paradise.net.nz>
Content-Type: text/plain; charset=us-ascii
On Mon 05 Mar 2007 01:34:13 NZDT +1300, Nevyn wrote:
> Does anyone know of any live distro that has these two tools?
openSUSE 10.2 live has both. And with man pages.
Volker
--
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.
------------------------------
Message: 10
Date: Mon, 05 Mar 2007 22:55:45 +1300
From: Roland Hill <rolandh at ak.planet.gen.nz>
Subject: Re: [nzlug] xorg configuration
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EBE921.6010001 at hillnet.local>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Michael Adams wrote:
>>
>> This is all good, but my PC gets turned off at night, and all these
>> changes are lost once the machine is powered up again.
>>
>> I thought if I manually edited the xorg.conf file it wouldn't get
>> re-written.
> chmod 555 xorg.conf
Thanks - that's seems to have sorted it.
--
Roland
------------------------------
Message: 11
Date: Tue, 6 Mar 2007 10:54:28 +1300
From: "Kim Hartley" <kim at duncanryan.co.nz>
Subject: [nzlug] RE: NZLUG Digest, Vol 21, Issue 4
To: <nzlug at linux.net.nz>
Message-ID:
<5CD710E4681AA643871E596240AB949760E925 at everest.DRANZ.local>
Content-Type: text/plain; charset="iso-8859-1"
GAIM blocked by adsl router?
Hi Im a newb to linux (using puppy distro). I was using orcon as my isp and could connect to gaim with no problem. Since switching to xtra with a cheap $100 modem I cant, I have set up dmz to allow apparently open access to my router assigned IP address but it still cant connect. It just says 'connecting' and never does connect, to msn, icq or yahoo which are the accounts I have set up on it. It was working find on the orcon connection. All other applications ie transmission, browsing, email etc are working and connecting fine.
Anyone got any ideas why or what port it uses?
Its puppy version 2.12 and the router is a single user xtra d-link I think (sorry at work don't have router details in front of me)
-----Original Message-----
From: nzlug-bounces at linux.net.nz [mailto:nzlug-bounces at linux.net.nz] On Behalf Of nzlug-request at linux.net.nz
Sent: Monday, 5 March 2007 4:48 p.m.
To: nzlug at linux.net.nz
Subject: NZLUG Digest, Vol 21, Issue 4
Send NZLUG mailing list submissions to
nzlug at linux.net.nz
To subscribe or unsubscribe via the World Wide Web, visit
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
or, via email, send a message with subject or body 'help' to
nzlug-request at linux.net.nz
You can reach the person managing the list at
nzlug-owner at linux.net.nz
When replying, please edit your Subject line so it is more specific than "Re: Contents of NZLUG digest..."
Today's Topics:
1. Re: mdadm and lvm on a live distro? (Daniel Pittman)
2. assign host name to computer (anru chen)
3. Re: assign host name to computer (Vik Olliver)
4. Re: assign host name to computer (Michal Ludvig)
5. Re: assign host name to computer (Hadley Rich)
6. Re: assign host name to computer (anru chen)
7. Re: assign host name to computer (Vik Olliver)
8. Re: Setting up net access for temp PC. (Andrew Bruce)
9. Re: assign host name to computer (Michal Ludvig)
10. Re: assign host name to computer (Daniel Pittman)
11. Re: assign host name to computer (Robin Sheat)
12. Re: assign host name to computer (Michal Ludvig)
13. Re: assign host name to computer (Alastair Porter)
14. Re: mdadm and lvm on a live distro? (Craig Mckenna)
15. Re: assign host name to computer (Daniel Pittman)
16. Re: assign host name to computer (Robin Sheat)
17. Re: mdadm and lvm on a live distro? (Nevyn)
18. Re: Setting up net access for temp PC. (Nevyn)
19. Samba Passwords (Nevyn)
20. Re: Samba Passwords (Karl.)
21. Rotating monitors (Vik Olliver)
22. Re: Samba Passwords (Daniel Pittman)
----------------------------------------------------------------------
Message: 1
Date: Mon, 05 Mar 2007 10:08:49 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] mdadm and lvm on a live distro?
To: Martin B?hr <mbaehr at email.archlab.tuwien.ac.at>
Cc: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <877itwehdq.fsf at rimspace.net>
Content-Type: text/plain; charset=iso-8859-1
Martin Bähr <mbaehr at email.archlab.tuwien.ac.at> writes:
> On Mon, Mar 05, 2007 at 01:34:13AM +1300, Nevyn wrote:
>
>> Does anyone know of any live distro that has these two tools?
>
> the last time i used knoppix it had these. ubuntu live cds should
> have them too as they are made fro installing too.
Depressingly, no. They don't actually ship with mdadm -- but you /can/ download and install it from the Internet, then use it, while running live. The unionfs is helpful that way.
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
------------------------------
Message: 2
Date: Mon, 5 Mar 2007 12:24:37 +1300
From: "anru chen" <ctx2002 at gmail.com>
Subject: [nzlug] assign host name to computer
To: "NZLUG Mailing List" <NZLUG at linux.net.nz>
Message-ID:
<9bb664980703041524ydc03930wf10d1e8a1a66303d at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
hi all:
we have a small network, all computers are connected to a route, each
time when a computer be booted up , the router will assigh a new ip to
the computer.
my question is how can i assign a fixed name to a computer that got
different IP at each time?
my router is a nomal adsl router that connected to a wall telephone jack.
regards,
anru
------------------------------
Message: 3
Date: Mon, 05 Mar 2007 12:30:20 +1300
From: Vik Olliver <vik.olliver at uiactive.com>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173051020.5607.88.camel at vik>
Content-Type: text/plain
On Mon, 2007-03-05 at 12:24 +1300, anru chen wrote:
> my question is how can i assign a fixed name to a computer that got
> different IP at each time?
Give it two IP addresses. Make sure one of them is fixed...
Vik :v)
-------8<---------8<---------8<---------8<---------8<---------8<-----
"History teaches us that men and nations behave wisely once they have
exhausted all other alternatives."
-- Abba Eban
------------------------------
Message: 4
Date: Mon, 05 Mar 2007 12:32:56 +1300
From: Michal Ludvig <michal at logix.cz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB5728.2050804 at logix.cz>
Content-Type: text/plain; charset=ISO-8859-1
anru chen wrote:
> hi all:
>
> we have a small network, all computers are connected to a route, each
> time when a computer be booted up , the router will assigh a new ip to
> the computer.
>
> my question is how can i assign a fixed name to a computer that got
> different IP at each time?
Does the router not assign the same IP every time? It should do... ;-)
And even your PC can request the same address it used to have last time
and, unless there is a conflict on the net, the dhcp-server should just
ACK it.
Anyway, if your router/dhcp-server is really that uncooperative, how
about dropping DHCP and assigning a static IP to your PC? That should
fix your problem.
Michal
------------------------------
Message: 5
Date: Mon, 5 Mar 2007 12:37:48 +1300
From: Hadley Rich <nzlug at nice.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <200703051237.48548.nzlug at nice.net.nz>
Content-Type: text/plain; charset="iso-8859-1"
On Mon, 05 Mar 2007 12:24:37 anru chen wrote:
> hi all:
>
> we have a small network, all computers are connected to a route, each
> time when a computer be booted up , the router will assigh a new ip to
> the computer.
>
> my question is how can i assign a fixed name to a computer that got
> different IP at each time?
>
> my router is a nomal adsl router that connected to a wall telephone jack.
Tell your router to offer a static IP based on MAC address and then setup the
hosts file or DNS accordingly.
hads
--
http://nicegear.co.nz
New Zealand's VoIP supplier
------------------------------
Message: 6
Date: Mon, 5 Mar 2007 12:43:24 +1300
From: "anru chen" <ctx2002 at gmail.com>
Subject: Re: [nzlug] assign host name to computer
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
<9bb664980703041543j448ad5e5s1a240f7ff5151ba0 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
yes, at most time you get a fixed IP, but i just want to know is
there any thing i can do to get a fixed name with dynamic IP.
regards,
anru
On 3/5/07, Michal Ludvig <michal at logix.cz> wrote:
> anru chen wrote:
> > hi all:
> >
> > we have a small network, all computers are connected to a route, each
> > time when a computer be booted up , the router will assigh a new ip to
> > the computer.
> >
> > my question is how can i assign a fixed name to a computer that got
> > different IP at each time?
>
> Does the router not assign the same IP every time? It should do... ;-)
>
> And even your PC can request the same address it used to have last time
> and, unless there is a conflict on the net, the dhcp-server should just
> ACK it.
>
> Anyway, if your router/dhcp-server is really that uncooperative, how
> about dropping DHCP and assigning a static IP to your PC? That should
> fix your problem.
>
> Michal
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
------------------------------
Message: 7
Date: Mon, 05 Mar 2007 12:46:59 +1300
From: Vik Olliver <vik.olliver at uiactive.com>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173052019.5607.90.camel at vik>
Content-Type: text/plain
On Mon, 2007-03-05 at 12:43 +1300, anru chen wrote:
> yes, at most time you get a fixed IP, but i just want to know is
> there any thing i can do to get a fixed name with dynamic IP.
>
Who needs to see this name? Just you on your internal home network, or
the whole world on the Internet?
Vik :v)
-------8<---------8<---------8<---------8<---------8<---------8<-----
"Giving money and power to government is like giving whiskey and car
keys to an 18 year old."
- Pamela Jones
------------------------------
Message: 8
Date: Mon, 05 Mar 2007 12:48:15 +1300
From: Andrew Bruce <abruce at hope-st.ath.cx>
Subject: Re: [nzlug] Setting up net access for temp PC.
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB5ABF.9010400 at hope-st.ath.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
As I pointed out, I can't really afford 50m of Cat5 at the moment to
connect it to the switch (yes the switch, and box are that far away from
my desktop).
Andrew
Michal Ludvig wrote:
> Andrew Bruce wrote:
>
>
>> For reference the layout of the network is currently:
>>
>>
>> ---- Switch ---- FlatNetwork
>> /
>> Internet ---- DSLRouter ---- GatewayBox ---- MyDesktopPC (via CrossOver)
>> \
>> ---- WirelessRouter ---- WirelessPC's
>>
>>
>
> Why don't you plug TempPC to the Switch/FlatNetwork then?
>
> Michal
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
>
------------------------------
Message: 9
Date: Mon, 05 Mar 2007 12:54:49 +1300
From: Michal Ludvig <michal at logix.cz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB5C49.2020001 at logix.cz>
Content-Type: text/plain; charset=ISO-8859-1
anru chen wrote:
> yes, at most time you get a fixed IP, but i just want to know is
> there any thing i can do to get a fixed name with dynamic IP.
What hostname are you after?
1) Local system hostname that appears e.g. in bash prompt?
I guess it depends on distribution. For instance in OpenSUSE 10.2 you
have the hostname in /etc/HOSTNAME and in /etc/hosts next to IP
127.0.0.2 (which is not assigned on any interface, I suggest it's a
glibc kludge to get the hostname this way).
2) LAN name?
You'll need a DNS server with dynamic updates enabled and either
a) configure your system to send the hostname from #1 above in the DHCP
request and let the DHCP server update DNS, or
b) let your system update the DNS after every address change (usually
some ifup-script will be used for this).
To be a good network citizen you should update reverse DNS at the same
time as well.
Michal
------------------------------
Message: 10
Date: Mon, 05 Mar 2007 11:01:15 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <87vehgd0dw.fsf at rimspace.net>
Content-Type: text/plain; charset=us-ascii
"anru chen" <ctx2002 at gmail.com> writes:
> we have a small network, all computers are connected to a route, each
> time when a computer be booted up , the router will assigh a new ip to
> the computer.
Via DHCP, I presume, with the router acting as the DHCP server.
> my question is how can i assign a fixed name to a computer that got
> different IP at each time?
Well, let me answer the question I /think/ you are asking rather than
the one you wrote first:
The way you would normally do that is to assign a fixed *IP* to a
computer, then assign the name to that. That way your name will always
point at that machine.
The way to assign a fixed IP is in the DHCP settings for the router:
somewhere in there they usually hide a page where you can assign a fixed
IP address to the MAC (or Ethernet) address of your computer.
That also has the advantage that, for example, a port forwarding you
configure on the router will also point to the right computer at all
times.
Anyway, if you /don't/ want to use a fixed IP -- which does make things
easier -- you need to configure "Dynamic DNS" for the machine you want a
consistent name for.
You are probably already familiar with services like 'dyndns.org' who
offer this on the Internet. Both the Microsoft and Linux (Bind, and
others) DNS servers *also* offer this "dynamic update" process.
So, what you can configure is that when your computer is assigned an
address via DHCP it contacts the DNS server and updates the record there
to point to that new IP address.
Under Windows this is the "register connection with DNS" option, or
something similar, found in the properties pages for the network
interface.
Under Linux you need to hook the 'nsupdate' tool into your DHCP client;
that is easy enough to do on most distributions, but it isn't an "out of
the box" option anywhere that I know of, sadly.
Anyway, that resolves the client side. On the server side you need to
allow dynamic updates -- which is documented in the DNS software manual
for all the examples I know, under "dynamic updates" or "dynamic DNS" --
and ensure that the appropriate security, etc, mechanisms are in place.
In the unlikely event that you really do want dynamic IP and fixed
hostname in DNS rather than simply assigning a fixed IP then feel free
to ask once you hit trouble with the dynamic DNS stuff.
I strongly urge you to consider the former, though. I have configured
dynamic DNS and, believe me, it isn't nearly as much fun as you might
hope. ;)
Anyway, in case your question was really "my ISP assigns a dynamic
address to my modem" rather than one internal to the network: check out
dyndns.org and similar services. :)
Oh, and finally: some router devices have an option to publish the DHCP
client "hostname" value into an internal DNS cache. You might check the
documentation to see if that is available -- which, on a consumer grade
device it probably isn't.
If yours does then you could have the dynamic IP, fixed name, part more
easily. I wouldn't hold my breath though.
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
------------------------------
Message: 11
Date: Mon, 5 Mar 2007 13:07:58 +1300
From: Robin Sheat <robin at kallisti.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <200703051307.59022.robin at kallisti.net.nz>
Content-Type: text/plain; charset="iso-8859-1"
On Monday 05 March 2007 12:54, Michal Ludvig wrote:
> a) configure your system to send the hostname from #1 above in the DHCP
> request and let the DHCP server update DNS, or
For some reason, Linux doesn't do this by default. How do you make it do that,
anyone know (Ubuntu in particular, but I'm sure I could work it out from any
description)?
Robin.
------------------------------
Message: 12
Date: Mon, 05 Mar 2007 13:22:11 +1300
From: Michal Ludvig <michal at logix.cz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB62B3.4070607 at logix.cz>
Content-Type: text/plain; charset=ISO-8859-1
Robin Sheat wrote:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
>> a) configure your system to send the hostname from #1 above in the DHCP
>> request and let the DHCP server update DNS, or
> For some reason, Linux doesn't do this by default.
"Linux" does. I mean, my laptop does by default.
> How do you make it do that,
> anyone know (Ubuntu in particular, but I'm sure I could work it out from any
> description)?
Oh you don't use OpenSUSE? OK, then ;-)
In Ubuntu edit /etc/dhcp3/dhclient.conf and uncomment+edit the "send
host-name" line.
AFAIK in Suse it sends the actual hostname while in Ubuntu it sends the
string from dhclient.conf (which in most cases will be the hostname
anyway). But it's good to know about this difference.
Michal
------------------------------
Message: 13
Date: Mon, 05 Mar 2007 13:27:06 +1300
From: Alastair Porter <alastair at porter.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173054426.5396.0.camel at dvorak.home>
Content-Type: text/plain
On Mon, 2007-03-05 at 13:07 +1300, Robin Sheat wrote:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
> > a) configure your system to send the hostname from #1 above in the DHCP
> > request and let the DHCP server update DNS, or
> For some reason, Linux doesn't do this by default. How do you make it do that,
> anyone know (Ubuntu in particular, but I'm sure I could work it out from any
> description)?
Edit /etc/dhcp3/dhclient.conf and make sure there's a line:
send host-name "foo";
Alastair
------------------------------
Message: 14
Date: Mon, 05 Mar 2007 11:20:27 +1300
From: Craig Mckenna <craig at mindz-i.co.nz>
Subject: Re: [nzlug] mdadm and lvm on a live distro?
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173046828.5531.3.camel at localhost.localdomain>
Content-Type: text/plain
I've found the INSERT rescue CD good for this type of recovery
http://www.inside-security.de/insert_en.html
only a 60Mb download, but has all the required tools
On Mon, 2007-03-05 at 01:34 +1300, Nevyn wrote:
> Does anyone know of any live distro that has these two tools?
>
> I've recently had a hard drive failure and unfortunately none of my
> ide hard drives seem to be up to scratch (I've had 2 die recently and
> only had 1 spare lying around). However the 2 resources I do seem to
> have is loads of cd-rom drives and some blank cd's so was hoping I
> might be able to run my file server off a live distro (something
> minimal with no desktop would be preferred).
>
> Of course it had to be a system drive as opposed to anything that was
> on the raid (whoops). This is fine as there was no really important
> stuff on the system drive except maybe the system (that's not all that
> important right?)
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
------------------------------
Message: 15
Date: Mon, 05 Mar 2007 11:37:13 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <87k5xwcypy.fsf at rimspace.net>
Content-Type: text/plain; charset=us-ascii
Robin Sheat <robin at kallisti.net.nz> writes:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
>
>> a) configure your system to send the hostname from #1 above in the DHCP
>> request and let the DHCP server update DNS, or
>
> For some reason, Linux doesn't do this by default. How do you make it
> do that, anyone know (Ubuntu in particular, but I'm sure I could work
> it out from any description)?
Edit /etc/dhcp3/dhcpd.conf, change 'ddns-update-style' as appropriate.
There are a handful of related options, WRT keying, that you want to
check. See dhcpd.conf(5) for the details; search for 'ddns'
You need to have configured bind to accept the appropriate connections,
of course, but that isn't all that difficult.
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
------------------------------
Message: 16
Date: Mon, 5 Mar 2007 14:21:33 +1300
From: Robin Sheat <robin at kallisti.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <200703051421.33758.robin at kallisti.net.nz>
Content-Type: text/plain; charset="iso-8859-1"
On Monday 05 March 2007 13:37, Daniel Pittman wrote:
> You need to have configured bind to accept the appropriate connections,
> of course, but that isn't all that difficult.
I think that DD-WRT (the firmware on the router that provides DHCP on my LAN)
handles it all magically, but I'd noticed that the Linux machines weren't
providing a name, but the windows machines were.
Robin.
------------------------------
Message: 17
Date: Mon, 5 Mar 2007 15:27:51 +1300
From: Nevyn <nevynh at gmail.com>
Subject: Re: [nzlug] mdadm and lvm on a live distro?
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
<bcdb9ee50703041827x31ffd316qd09dad98cc945a8c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I discovered slax - damn what a great idea! Been able to get most of
my system up and running on a cd (in commandline mode too so none of
the un-necessary overheads of X). Leads to another question though so
I'll post that in a new thread...
On 3/5/07, Craig Mckenna <craig at mindz-i.co.nz> wrote:
> I've found the INSERT rescue CD good for this type of recovery
>
> http://www.inside-security.de/insert_en.html
>
> only a 60Mb download, but has all the required tools
>
>
> On Mon, 2007-03-05 at 01:34 +1300, Nevyn wrote:
> > Does anyone know of any live distro that has these two tools?
> >
> > I've recently had a hard drive failure and unfortunately none of my
> > ide hard drives seem to be up to scratch (I've had 2 die recently and
> > only had 1 spare lying around). However the 2 resources I do seem to
> > have is loads of cd-rom drives and some blank cd's so was hoping I
> > might be able to run my file server off a live distro (something
> > minimal with no desktop would be preferred).
> >
> > Of course it had to be a system drive as opposed to anything that was
> > on the raid (whoops). This is fine as there was no really important
> > stuff on the system drive except maybe the system (that's not all that
> > important right?)
> >
> > _______________________________________________
> > NZLUG mailing list NZLUG at linux.net.nz
> > http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
> >
>
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
------------------------------
Message: 18
Date: Mon, 5 Mar 2007 15:32:17 +1300
From: Nevyn <nevynh at gmail.com>
Subject: Re: [nzlug] Setting up net access for temp PC.
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
<bcdb9ee50703041832h6bf5b9cava1cb87b36ca4c81d at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
How many resources do you really need from your desktop PC? It might
be worth copying any files you need from your desktop machine to one
of your flatmates thus being able to just unplug your desktop machine
and plug in the temporary PC's just for the duration it takes you to
re-install windows and set everything back up again.
On 3/5/07, Andrew Bruce <abruce at hope-st.ath.cx> wrote:
> As I pointed out, I can't really afford 50m of Cat5 at the moment to
> connect it to the switch (yes the switch, and box are that far away from
> my desktop).
>
> Andrew
>
> Michal Ludvig wrote:
> > Andrew Bruce wrote:
> >
> >
> >> For reference the layout of the network is currently:
> >>
> >>
> >> ---- Switch ---- FlatNetwork
> >> /
> >> Internet ---- DSLRouter ---- GatewayBox ---- MyDesktopPC (via CrossOver)
> >> \
> >> ---- WirelessRouter ---- WirelessPC's
> >>
> >>
> >
> > Why don't you plug TempPC to the Switch/FlatNetwork then?
> >
> > Michal
> >
> > _______________________________________________
> > NZLUG mailing list NZLUG at linux.net.nz
> > http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
> >
> >
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
------------------------------
Message: 19
Date: Mon, 5 Mar 2007 15:36:33 +1300
From: Nevyn <nevynh at gmail.com>
Subject: [nzlug] Samba Passwords
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
<bcdb9ee50703041836y2bedb96au5b8ccc6d3c076886 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Does anyone know where samba stashes away user information? I.e. when I run:
smbpasswd -a username
to add a user for samba access but does anyone know where this
information is stored?
------------------------------
Message: 20
Date: Mon, 5 Mar 2007 15:48:22 +1300
From: "Karl." <kmw1 at free.net.nz>
Subject: Re: [nzlug] Samba Passwords
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <20070305024822.GA4726 at L667>
Content-Type: text/plain; charset=us-ascii
On Mon, Mar 05, 2007 at 03:36:33PM +1300, Nevyn wrote:
> Does anyone know where samba stashes away user information? I.e. when I
> run:
> smbpasswd -a username
> to add a user for samba access but does anyone know where this
> information is stored?
try:
man 5 smbpasswd
===================================
NAME
smbpasswd - The Samba encrypted password file
SYNOPSIS
smbpasswd
DESCRIPTION
This tool is part of the samba(7) suite.
smbpasswd is the Samba encrypted password file. It contains the
username, Unix user id and the SMB hashed passwords of the user, as well
as account flag information and the time the password was last
changed. This file format has been evolving with Samba and has
had several different formats in the past.
------------------------------
Message: 21
Date: Mon, 05 Mar 2007 15:58:43 +1300
From: Vik Olliver <vik.olliver at uiactive.com>
Subject: [nzlug] Rotating monitors
To: NZ Linux Users Group <nzlug at linux.net.nz>
Message-ID: <1173063524.10452.5.camel at vik>
Content-Type: text/plain
Here's a good 'un.
I've got an Nvidia Ubuntu box with twinview and two nice, big LCD
monitors running off a graphics card that looks like it has a cylinder
head off a motorbike on it. Works fine.
But I want to dick with it.
I've noticed that I would benefit from a taller, less wide monitor
configuration, and lo my monitor mounts will tilt the screen sideways. I
caught the guys doing this to them when I "wasn't looking"...
So, I hear about the xorg.conf "rotate" option in the "Display" section,
and being game I try it out. It rotates both screens, yes. But it is
only useful if I then stack those rotated screens on top of one another.
What I wanna do is rotate the left screen through 90 degrees, then
rotate the right screen through 90 degrees. If you see what I mean.
Can't find anything encouraging on Google.
Any ideas?
Vik :v)
-------8<---------8<---------8<---------8<---------8<---------8<-----
"Diplomacy: The art of saying 'Nice doggy' until you can find a stick."
- Wynn Catlin
------------------------------
Message: 22
Date: Mon, 05 Mar 2007 14:47:59 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] Samba Passwords
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <87vehgbbbk.fsf at rimspace.net>
Content-Type: text/plain; charset=us-ascii
Nevyn <nevynh at gmail.com> writes:
> Does anyone know where samba stashes away user information? I.e. when
> I run: smbpasswd -a username to add a user for samba access but does
> anyone know where this information is stored?
In the Active Directory database on the Windows primary (and, of course,
backup) domain controllers in your AD domain.
Oh, or it could be in the 'smbpasswd' file or an LDAP directory, either
of which could be on another machine -- if that acts as the primary
domain controller.
In other words: it really depends a lot on how you configured Samba,
something that you neglected to tell us.
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
------------------------------
_______________________________________________
NZLUG mailing list
NZLUG at linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
End of NZLUG Digest, Vol 21, Issue 4
************************************
------------------------------
Message: 12
Date: Tue, 6 Mar 2007 11:06:37 +1300
From: "Simon Green" <simon at simongreen.net>
Subject: Gaim / ADSL access issue (was: [nzlug] RE: NZLUG Digest, Vol
21, Issue 4)
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
<abec0860703051406o1966ba7fse23a7d8272d417cf at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 06/03/07, Kim Hartley <kim at duncanryan.co.nz> wrote:
> GAIM blocked by adsl router?
>
> Hi Im a newb to linux (using puppy distro). I was using orcon as my isp and could connect to gaim with no problem. Since switching to xtra with a cheap $100 modem I cant, I have set up dmz to allow apparently open access to my router assigned IP address but it still cant connect. It just says 'connecting' and never does connect, to msn, icq or yahoo which are the accounts I have set up on it. It was working find on the orcon connection. All other applications ie transmission, browsing, email etc are working and connecting fine.
>
> Anyone got any ideas why or what port it uses?
Gaim[1] doesn't require any ports to be open for it to work (at least
on the Jabber, MSN and ICQ protocols that I have used). As long as
your modem handles NAT (and all ADSL modems do), then it shouldn't be
a problem.
-- simon
[1] and all other popular IM clones.
------------------------------
_______________________________________________
NZLUG mailing list
NZLUG at linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
End of NZLUG Digest, Vol 21, Issue 5
************************************
More information about the NZLUG
mailing list