Re: [SLUG] making ip adress stick rather than DHCP

2010-07-29 Thread Daniel Pittman
"Voytek Eymont"  writes:
> On Fri, July 30, 2010 2:24 pm, Ben Donohue wrote:

[...]

> I guess I need to disable dhclient, is that what caused the problem ?

Well, if it is running it will keep renewing a lease, so yeah.  Kill it if you
have the static configuration ready and all.

Daniel

-- 
✣ Daniel Pittman✉ dan...@rimspace.net☎ +61 401 155 707
   ♽ made with 100 percent post-consumer electrons
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Weird X/Gnome issue

2010-07-29 Thread Jeremy Visser
Erik de Castro Lopo said:
> When I power up the machine, the login screen comes up correctly at
> 1280x800 resolution, but when I login it switches to 1024x767 for no
> good reason.

$ rm .config/monitors.xml

Cheers,
Jeremy.



signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] making ip adress stick rather than DHCP

2010-07-29 Thread Voytek Eymont

On Fri, July 30, 2010 2:24 pm, Ben Donohue wrote:

> edit /etc/sysconfig/ifcfg-eth0
>
> Get it to look something like the following...

> # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=10.1.2.255
> IPADDR=10.1.2.250
> IPV6INIT=yes
> IPV6_AUTOCONF=yes
> NETMASK=255.255.255.0
> NETWORK=10.1.2.0

> if there is a line in there with HW= or HWARE= with a mac address like
> 2B:3C:F2:...  you can remove it without any dramas.


Ben, Daniel,

thanks, I'll have another go later

I guess I need to disable dhclient, is that what caused the problem ?


# ps ax | grep dhclient
 1807 ?Ss 0:00 /sbin/dhclient -1 -q -lf
/var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid
eth0
21087 pts/0R+ 0:00 grep dhclient



-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] making ip adress stick rather than DHCP

2010-07-29 Thread Ben Donohue

Hi Voytek,

edit /etc/sysconfig/ifcfg-eth0

Get it to look something like the following...

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.1.2.255
IPADDR=10.1.2.250
IPV6INIT=yes
IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=10.1.2.0
ONBOOT=yes
GATEWAY=10.1.2.253
TYPE=Ethernet
PEERDNS=yes
USERCTL=no

if there is a line in there with HW= or HWARE= with a mac address like 
2B:3C:F2:...  you can remove it without any dramas.


Ben




On 30/07/2010 12:26 PM, Voytek Eymont wrote:

I have am old clunker with Centos 5.x,

it appears it developed NIC probs, couldn't reach it, when screen plugged
in, screen blank

on power up, it gave some eth0 messages;

I removed the 3COM PCI NIC, starred at it for a while whilst nodding my
head, then, put it back in

machine booted OK, BUT, is now on DHCP address, not what it was, fixed IP

I've 'ifconfig eth0 192.168.1.5' ; 'route add -net...'

that returned it desired IP OK, but, on reboot, it reverts to DHCP

what do I need to make it stick ?

(tried editing some /etc/sysconfig files, but, it was telling something
about hardlinks, so I didn't)



   

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] making ip adress stick rather than DHCP

2010-07-29 Thread Daniel Pittman
"Voytek Eymont"  writes:

> I have am old clunker with Centos 5.x, it appears it developed NIC probs,
> couldn't reach it, when screen plugged in, screen blank
>
> on power up, it gave some eth0 messages;
>
> I removed the 3COM PCI NIC, starred at it for a while whilst nodding my
> head, then, put it back in.  machine booted OK, BUT, is now on DHCP address,
> not what it was, fixed IP

Strange; I would almost guess that it automatically reconfigured it or
something on boot, which is rather strange...

> I've 'ifconfig eth0 192.168.1.5' ; 'route add -net...'
> that returned it desired IP OK, but, on reboot, it reverts to DHCP
> what do I need to make it stick ?

Edit the network settings in /etc/sysconfig to set it with a fixed address
rather than DHCP.  Possibly use the RH GUI tool rather than the command line,
if you prefer, to do it for you. :)

> (tried editing some /etc/sysconfig files, but, it was telling something
> about hardlinks, so I didn't)

I got nothing. :)

Daniel

-- 
✣ Daniel Pittman✉ dan...@rimspace.net☎ +61 401 155 707
   ♽ made with 100 percent post-consumer electrons
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] making ip adress stick rather than DHCP

2010-07-29 Thread Voytek Eymont
I have am old clunker with Centos 5.x,

it appears it developed NIC probs, couldn't reach it, when screen plugged
in, screen blank

on power up, it gave some eth0 messages;

I removed the 3COM PCI NIC, starred at it for a while whilst nodding my
head, then, put it back in

machine booted OK, BUT, is now on DHCP address, not what it was, fixed IP

I've 'ifconfig eth0 192.168.1.5' ; 'route add -net...'

that returned it desired IP OK, but, on reboot, it reverts to DHCP

what do I need to make it stick ?

(tried editing some /etc/sysconfig files, but, it was telling something
about hardlinks, so I didn't)



-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Weird X/Gnome issue

2010-07-29 Thread kfoskey
Ubuntu has an option in the menus:

System,   Preferences,  monitors.  (gnome-display-properties program)

Might help


On Thu, Jul 29th, 2010 at 7:22 PM, Erik de Castro Lopo  
wrote:

> Hi all,
> 
> I have an laptop with a native resolution of 1280x800 running Debian
> testing with a Gnome desktop.
> 
> When I power up the machine, the login screen comes up correctly at
> 1280x800 resolution, but when I login it switches to 1024x767 for no
> good reason. I have to run
> 
> xrandr -s 1280x800
> 
> Any clues to fixing this?
> 
> Erik
> -- 
> --
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 
> 
> 



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: [activities] Re: Discussion about SLUG meetings and format

2010-07-29 Thread Marghanita da Cruz

There was a discussion at the last slug meeting about the
calendar/event scheduling.

I am interested to know what the issues would be in
integrating a calendar/event booking into a wiki,
for example the slug wiki. Anyone care to give a
lightning minute talk on their views on this at
tonight's SLUG meeting?


Also, further to my proposed talk,
,
it appears there is a new open media project - that
I would like to hear more about.


...and, clarifying the comments quoted in Andrew's last email,


which appeared to be mine were made by Michael K in
a response to an email from me to the activities list.

# [activities] Notes from "Future of SLUG" discussion on May
28/Agenda for June 25 o Marghanita da Cruz 09:09, Wed Jun 02
 





# Re: [activities] Re: Discussion about SLUG meetings and format
* Michael K 05:45, Sat Jul 24


Marghanita
Andrew Sinclair wrote:

On 24 July 2010 05:45, Michael K  wrote:


--
Marghanita da Cruz
http://ramin.com.au
Tel: 0414-869202





--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Weird X/Gnome issue

2010-07-29 Thread Erik de Castro Lopo
Nick Andrew wrote:

> On Thu, Jul 29, 2010 at 08:23:49PM +1000, Erik de Castro Lopo wrote:
> > I have grepped $HOME/.gconf/ $HOME/.gnome2/ and $HOME/.gnome2_private/
> > for the string "1024" and found nothing display related.
> 
> Can you strace your Window Manager to find out what files it reads?

>From grepping I'm pretty sure its not reading it from a file.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Reply-to address on SLUG posts

2010-07-29 Thread Peter Rundle

I agree.

Another point is the slug list exposes every posters email address to anyone subscribed to the list. Want to harvest email 
addresses? Just subscribe to the list, you don't even need to post. After a while you can just have a script troll through the 
message headers. I'm pretty sure I've eneded up on spam lists because of this. I created an email address and used it only to 
subscribe to slug. How did the spammers find it?


It also plays havoc with white lists.

Pete.




Jon Jermey wrote:
I'm still not convinced. The fact that millions of people using 
thousands of lists manage to cope successfully with Reply-to-list 
indicates that it can't be TOO harmful. I have never used Elm and never 
want to (though on reflection. I may have flirted with it back in 1979 
or thereabouts). And the risk of sending one very occasional private 
message to the list is more than offset by the inconvenience of having 
to stop and think each time I DO want to send a message to the list.


If the SLUG list dealt with sensitive and personal material then I might 
be swayed. But I've seen nothing posted there so far that my reply to 
couldn't be broadcast to my mother or Senator Conroy with total impunity.


I see the decision as analogous to deciding to drive on the right side 
of the road when everyone else is driving on the left. There's nothing 
inherently wrong with it, but it causes a lot of inconvenience. To me, 
anyway.


Jon.

On 29/07/10 18:48, Chris Deigan wrote:

On 27/07/2010, at 2:08 PM, Jon Jermey wrote:
  
I've been caught by that a few times, mainly because this is the only 
mailing list I currently subscribe to (out of a dozen or so) that 
doesn't automatically set the reply-to address to the list. I have a 
vague memory of this issue being raised before, and I'm sure there 
were good reasons given why that was the case. But I still find it 
really annoying. Is there any support for a re-think on this?
 

http://www.slug.org.au/mailinglists.html#q9

-Chris.--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

   



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Reply-to address on SLUG posts

2010-07-29 Thread Jon Jermey
I'm still not convinced. The fact that millions of people using 
thousands of lists manage to cope successfully with Reply-to-list 
indicates that it can't be TOO harmful. I have never used Elm and never 
want to (though on reflection. I may have flirted with it back in 1979 
or thereabouts). And the risk of sending one very occasional private 
message to the list is more than offset by the inconvenience of having 
to stop and think each time I DO want to send a message to the list.


If the SLUG list dealt with sensitive and personal material then I might 
be swayed. But I've seen nothing posted there so far that my reply to 
couldn't be broadcast to my mother or Senator Conroy with total impunity.


I see the decision as analogous to deciding to drive on the right side 
of the road when everyone else is driving on the left. There's nothing 
inherently wrong with it, but it causes a lot of inconvenience. To me, 
anyway.


Jon.

On 29/07/10 18:48, Chris Deigan wrote:

On 27/07/2010, at 2:08 PM, Jon Jermey wrote:
   

I've been caught by that a few times, mainly because this is the only mailing 
list I currently subscribe to (out of a dozen or so) that doesn't automatically 
set the reply-to address to the list. I have a vague memory of this issue being 
raised before, and I'm sure there were good reasons given why that was the 
case. But I still find it really annoying. Is there any support for a re-think 
on this?
 

http://www.slug.org.au/mailinglists.html#q9

-Chris.--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

   


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Task bar not working

2010-07-29 Thread Jan Schmidt
On Thu, 2010-07-22 at 21:17 +1000, Chris Allen wrote: 
> I am using Ubuntu 10.4
> Since yesterday my task bar (@ bottom of Gnome screen) has been unworkable.
> It is still there but is always black on black.  When I minimise a 
> window, I see it shrink and disappear into the task bar but after that I 
> see no trace of it.  It almost impossible to recall it again from the 
> task bar.
> 
> Is there any explanation / fix for this?

I've seen this happen on my wife's laptop twice, with NVidia drivers and
compositing turned on. Seems to be a NVidia bug to me.

Turning off compositing and turning it back on again fixes it, or
rebooting.

These commands will disable and then reenable metacity compositing:

gconftool -s /apps/metacity/general/compositing_manager -t bool false
gconftool -s /apps/metacity/general/compositing_manager -t bool true

- Jan.
-- 
Jan Schmidt 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Weird X/Gnome issue

2010-07-29 Thread Nick Andrew
On Thu, Jul 29, 2010 at 08:23:49PM +1000, Erik de Castro Lopo wrote:
> I have grepped $HOME/.gconf/ $HOME/.gnome2/ and $HOME/.gnome2_private/
> for the string "1024" and found nothing display related.

Can you strace your Window Manager to find out what files it reads?

I know it could take a long time to figure out...

Nick.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: [activities] Re: Discussion about SLUG meetings and format

2010-07-29 Thread Andrew Sinclair
On 24 July 2010 05:45, Michael K  wrote:
> Marghanita da Cruz wrote:
>  I hope this doesn't come across the wrong way, but I want you to know
> that long ago when I was on the committee for SLUG, I made a serious offer
> to assist with managing the website and content, since at the time I was
>  attending the website design course at Granville. Nobody ever followed
> up with me about this, so I didn't pursue it since I had the distinct
> impression nobody was taking me seriously.
>
>  Of course, my membership of SLUG lapsed long ago and I haven't been to
> a meeting since the venue changed from UTS, since I live in Bankstown,
> and am restricted to public transport.
>
>  I don't wish to become engaged in any flaming, even though I feel there
> are several things SLUG could do to improve it's public profile. All I
> want to say is that the offer is still there to help out if you wish to
> contact me. I imaging much of the admin could be done off-site, and
> since I am still currently not working, I have plenty of free time.
>
>  Anyway, if you think I can be of some help, please feel free to contact me.
>
Before anyone responds to this, I want to be first to say that the
Linux community are the hardest working group of trade professionals I
have seen in my professional career, let alone my natural life span.
In my experience with these people, I have found them to be the most
accommodating, even when the pressure is on, and the guests are
misbehaving. It is unwise for you to accuse them of not taking you
seriously.

Please be aware that since UTS have removed the pro-bono rental of
their room for this community, we have been hard pressed finding
places that were able to accommodate us, as we jumped from venue to
venue. These locations were within the CBD but the distances between
them were sparse.

The employee culture does not work so well for the Linux community.
Many of the people involved are contractors, some with their own
companies. Work is allocated on a best offer basis. It is inefficent
to assign complex tasks to people and properly assess their
suitability for said task. Participants are expected to use their own
discretion and assign their own tasks, based on the goals of the
community.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Weird X/Gnome issue

2010-07-29 Thread Erik de Castro Lopo
Dean Hamstead wrote:

> Gnome display settings are perhaps overriding the x config.

Well this is the new Xorg (current Debian/Ubuntu) where resolution
is not really specified anywhere.

> If all else fails, try creating another user and logging in?

Tried this. The new account does the right thing and the old
one doesn't, with no idea what the difference is.

I have grepped $HOME/.gconf/ $HOME/.gnome2/ and $HOME/.gnome2_private/
for the string "1024" and found nothing display related.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Weird X/Gnome issue

2010-07-29 Thread Dean Hamstead
Gnome display settings are perhaps overriding the x config.

If all else fails, try creating another user and logging in?

Dean



On 29/07/2010, at 7:22 PM, Erik de Castro Lopo  wrote:

> Hi all,
> 
> I have an laptop with a native resolution of 1280x800 running Debian
> testing with a Gnome desktop.
> 
> When I power up the machine, the login screen comes up correctly at
> 1280x800 resolution, but when I login it switches to 1024x767 for no
> good reason. I have to run
> 
>xrandr -s 1280x800
> 
> Any clues to fixing this?
> 
> Erik
> -- 
> --
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Weird X/Gnome issue

2010-07-29 Thread Erik de Castro Lopo
Hi all,

I have an laptop with a native resolution of 1280x800 running Debian
testing with a Gnome desktop.

When I power up the machine, the login screen comes up correctly at
1280x800 resolution, but when I login it switches to 1024x767 for no
good reason. I have to run

xrandr -s 1280x800

Any clues to fixing this?

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Reply-to address on SLUG posts

2010-07-29 Thread Chris Deigan
On 27/07/2010, at 2:08 PM, Jon Jermey wrote:
> I've been caught by that a few times, mainly because this is the only mailing 
> list I currently subscribe to (out of a dozen or so) that doesn't 
> automatically set the reply-to address to the list. I have a vague memory of 
> this issue being raised before, and I'm sure there were good reasons given 
> why that was the case. But I still find it really annoying. Is there any 
> support for a re-think on this?

http://www.slug.org.au/mailinglists.html#q9

-Chris.--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html