Re: [gentoo-user] Assigning an IP in AP mode

2011-08-14 Thread Adam Carter
>> I have net.wlan0 started by init, not by hostapd, not sure if that
>> makes a difference.
>
> You start net.wlan0 in master mode with /etc/init.d/net.wlan0?  If so,
> do you have a PSK?

No - master mode comes with hostapd. It just gets started.

> hostapd doesn't report any error and I don't think it should.
> Everything works fine as soon as I 'ifconfig wlan0 192.168.1.1' but I
> know there's a way to assign that IP automatically, I've just
> forgotten what it is.  My description above is the trouble I run into
> when I try to set up that automatic IP assignment.  As long as I issue
> ifconfig manually, everything works fine.

Just let net.wlan0 bring the interface up and configure the IP for you.



Re: [gentoo-user] Assigning an IP in AP mode

2011-08-14 Thread Grant
>> I've added 'INTERFACES=wlan0' to /etc/conf.d/hostapd, created the
>> /etc/init.d/net.wlan0 link, and added the following to
>> /etc/conf.d/net:
>>
>> modules_wlan0=( "!iwconfig" "!wpa_supplicant" )
>> config_wlan0="192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
>>
>> When I start hostapd it tries to start net.wlan0 but I get "WARNING:
>> net.wlan0 has started, but is inactive" and hostapd won't start.  If I
>> don't add the INTERFACES line and start hostapd and then net.wlan0,
>> hostapd starts but has no IP address and net.wlan0 gives me the same
>> "inactive" error.
>
> I have the link inactive message (warning != error) on my client
> system, then it associates so the link becomes active, and then
> dhcp's. I dont get that message on my AP machine tho, but dmesg has
> "wlan0: link is not ready"

Yeah the "inactive" warning isn't very informative.  I get that
message all the time when starting an interface in managed mode.

> I have net.wlan0 started by init, not by hostapd, not sure if that
> makes a difference.

You start net.wlan0 in master mode with /etc/init.d/net.wlan0?  If so,
do you have a PSK?

> What message does hostapd report? AFAIK, it shouldn't care about wlan0
> not having link.

hostapd doesn't report any error and I don't think it should.
Everything works fine as soon as I 'ifconfig wlan0 192.168.1.1' but I
know there's a way to assign that IP automatically, I've just
forgotten what it is.  My description above is the trouble I run into
when I try to set up that automatic IP assignment.  As long as I issue
ifconfig manually, everything works fine.

>> I know I've had this working several times before but I always have a
>> hard time remembering how I did it.  I've definitely never disabled
>> iwconfig and wpa_supplicant before.
>
> That's from here;
> http://www.gentoo-wiki.info/Wireless/libnl_Access_Point

Is anyone here running hostapd?  It's the Gentoo+hostapd combo that
has me stumped.

- Grant



Re: [gentoo-user] Assigning an IP in AP mode

2011-08-14 Thread Adam Carter
> I've added 'INTERFACES=wlan0' to /etc/conf.d/hostapd, created the
> /etc/init.d/net.wlan0 link, and added the following to
> /etc/conf.d/net:
>
> modules_wlan0=( "!iwconfig" "!wpa_supplicant" )
> config_wlan0="192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
>
> When I start hostapd it tries to start net.wlan0 but I get "WARNING:
> net.wlan0 has started, but is inactive" and hostapd won't start.  If I
> don't add the INTERFACES line and start hostapd and then net.wlan0,
> hostapd starts but has no IP address and net.wlan0 gives me the same
> "inactive" error.

I have the link inactive message (warning != error) on my client
system, then it associates so the link becomes active, and then
dhcp's. I dont get that message on my AP machine tho, but dmesg has
"wlan0: link is not ready"

I have net.wlan0 started by init, not by hostapd, not sure if that
makes a difference.

What message does hostapd report? AFAIK, it shouldn't care about wlan0
not having link.

> I know I've had this working several times before but I always have a
> hard time remembering how I did it.  I've definitely never disabled
> iwconfig and wpa_supplicant before.

That's from here;
http://www.gentoo-wiki.info/Wireless/libnl_Access_Point



[gentoo-user] USE-flags and CFLAGS of stage3?

2011-08-14 Thread Pandu Poluan
Does anyone know what are the USE-flags and CFLAGS used for the current stage3?

The reason I'm asking is that I keep finding myself having to upgrade
glibc and gcc when I install a new Gentoo system, so I want to save
some time by doing a 'pre-upgrade' of glibc, gcc, and libtool. Then
I'm going to tarball the result in a custom stage3 ('stage3.1', if you
wish), and use this as the starting point for future Gentoo boxen.

Rgds,


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-14 Thread Allan Gottlieb
On Sun, Aug 14 2011, Alan McKinnon wrote:

> It's installing Gnome 3 stuff.
>
> Is that what you want?

Yes.  That is why I am using the gnome overlay

> Look at your unmasking rules.

They were supposed to be the ones that came with the instructions for
moving to gnome 3.  But I didn't realize that eix-update doesn't update
layman and I need layman -S.  It is still not working but I will study
the new blockages arising after layman -S.

Thanks for the tip.

allan




Re: [gentoo-user] texlive-2011 upgrade headsup

2011-08-14 Thread shk...@gmail.com
I had installed it and it's works well . 
have a try to add "cjk" use flag.

On 2011年08月14日 星期日 23时27分45秒, Willie Wong  wrote:

> Hi list, 
> 
> Just a minor glitch I ran into in upgrading texlive-2010 to
> texlive-2011, I am not sure how reproducible this is, so I am posting
> it here instead of filing a bug, just in case someone else runs into
> the same problem. It is likely that this problem won't occur at all
> for those not using the cjk option. 
> 
>     Problem: 
>         When issuing 'emerge --update texlive', the emerge chokes on the
>         package 'dev-texlive/texlive-latex'. Checking the logs reveal that
>         during compile it tries to load 'loadhyphen-zh-latn.tex' which
>         does not exist on the system. 
> 
>     Solution:
>         'emerge --oneshot texlive-langcjk' first. One of the config file
>         updates with the 2011 version of that package changes the filename
>         to load to 'loadhypher-zh-latn-pinyin.tex', which does exist on
>         the system. 
> 
> Cheers, 
> 
> W
> -- 
> Willie W. Wong                                                                
>        
> ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae
> involvente fluxiones invenire                   et vice versa     ~~~   I. 
> Newton
> 



Re: [gentoo-user] TVSE MSP 240 Classic Dot Matrix Printer

2011-08-14 Thread Nilesh Govindarajan
On 08/14/2011 08:17 PM, Michael Mol wrote:
> It strained my Google-fu via two different search engines. Yeah, it's
> not exactly a prominent site. (One thing you may want to consider,
> here...how long will that OEM be around to provide replacement parts?
> I'm going to venture a guess it's a relatively new company.)
> 
>> I've already sent a mail to the eBay dealer about this, now I'll mail
>> the OEM as well. Today here being a Sunday, nobody would be attending
>> the calls and tomorrow is a public holiday as well.
> 
> Good luck!
> 

It's a quite old & reputed company. The problem with most firms here in
India is, they don't focus much on their websites which leads to a bad
impression to online users.

-- 
Nilesh Govindarajan
http://nileshgr.com



[gentoo-user] texlive-2011 upgrade headsup

2011-08-14 Thread Willie Wong
Hi list, 

Just a minor glitch I ran into in upgrading texlive-2010 to
texlive-2011, I am not sure how reproducible this is, so I am posting
it here instead of filing a bug, just in case someone else runs into
the same problem. It is likely that this problem won't occur at all
for those not using the cjk option. 

  Problem: 
When issuing 'emerge --update texlive', the emerge chokes on the
package 'dev-texlive/texlive-latex'. Checking the logs reveal that
during compile it tries to load 'loadhyphen-zh-latn.tex' which
does not exist on the system. 

  Solution:
'emerge --oneshot texlive-langcjk' first. One of the config file
updates with the 2011 version of that package changes the filename
to load to 'loadhypher-zh-latn-pinyin.tex', which does exist on
the system. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] TVSE MSP 240 Classic Dot Matrix Printer

2011-08-14 Thread Michael Mol
On Sun, Aug 14, 2011 at 10:02 AM, Nilesh Govindarajan
 wrote:
> On 08/14/2011 06:17 PM, Michael Mol wrote:
>> Don't know. Don't have one.
>>
>> However, the manufacturer appears to still be in business, and that
>> looks like it's a current product. Perhaps you could ask them? Their
>> website isn't in the greatest of shape, but they do list a telephone
>> number.
>>
>> http://www.tvs-e.in/branch-details.aspx
>>
>>
>
> Whoa, I didn't find that, even after many searches on Google. Anyways
> thanks for that.

It strained my Google-fu via two different search engines. Yeah, it's
not exactly a prominent site. (One thing you may want to consider,
here...how long will that OEM be around to provide replacement parts?
I'm going to venture a guess it's a relatively new company.)

> I've already sent a mail to the eBay dealer about this, now I'll mail
> the OEM as well. Today here being a Sunday, nobody would be attending
> the calls and tomorrow is a public holiday as well.

Good luck!

-- 
:wq



Re: [gentoo-user] TVSE MSP 240 Classic Dot Matrix Printer

2011-08-14 Thread Nilesh Govindarajan
On 08/14/2011 06:17 PM, Michael Mol wrote:
> 
> Don't know. Don't have one.
> 
> However, the manufacturer appears to still be in business, and that
> looks like it's a current product. Perhaps you could ask them? Their
> website isn't in the greatest of shape, but they do list a telephone
> number.
> 
> http://www.tvs-e.in/branch-details.aspx
> 
> 

Whoa, I didn't find that, even after many searches on Google. Anyways
thanks for that.
I've already sent a mail to the eBay dealer about this, now I'll mail
the OEM as well. Today here being a Sunday, nobody would be attending
the calls and tomorrow is a public holiday as well.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] TVSE MSP 240 Classic Dot Matrix Printer

2011-08-14 Thread Michael Mol
On Sat, Aug 13, 2011 at 12:24 AM, Nilesh Govindarajan
 wrote:
> Hi,
>
> I'm using Gentoo, and I'm thinking of buying this printer:
> http://cgi.ebay.in/ws/eBayISAPI.dll?ViewItem&item=370533563484
>
> The printer specification says that it can emulate Epson ESC/P and IBM
> Proprinter command sets.
>
> I saw CUPS documentation and it is written that printers supporting
> Epson ESC/P command set are supported on Linux.
> http://www.cups.org/doc-1.1/sam.html#EPSON9
>
> I'd like to know if anybody is using this printer here on this list or,
> does it require some hardware switch changes, etc (like jumper settings)
> to make the printer comply to particular command set? I'm buying a dot
> matrix printer for the first time, please help. It's urgent.

Don't know. Don't have one.

However, the manufacturer appears to still be in business, and that
looks like it's a current product. Perhaps you could ask them? Their
website isn't in the greatest of shape, but they do list a telephone
number.

http://www.tvs-e.in/branch-details.aspx


-- 
:wq



Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media

2011-08-14 Thread Alan McKinnon
It's installing Gnome 3 stuff.

Is that what you want?

Look at your unmasking rules.


On Sat 13 August 2011 21:52:53 Allan Gottlieb did opine thusly:
> I was away for 2 weeks and am trying to "update world" on several
> systems.
> 
> One system is ~x86 with the gnome overlay.  I am getting a blockage.
> The output is
> 
> [blocks B  ](" media-libs/libgnome-media-profiles-3.0.0,
> gnome-base/gnome-control-center-3.0.2) [blocks B  ]
>  (" media-libs/libgnome-media-profiles-3.0.0,
> gnome-base/gnome-control-center-3.0.2)
> 
> Total: 183 packages (82 upgrades, 32 downgrades, 58 new, 9 in new
> slots, 2 reinstalls, 1 uninstall), Size of downloads: 947,710 kB
> Conflict: 1 block (1 unsatisfied)
> Portage tree and overlays:
>  [0] /usr/portage
>  [1] /var/lib/layman/gnome
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (gnome-base/gnome-control-center-3.0.2::gnome, installed) pulled
> in by
> >=gnome-base/gnome-control-center-2.32.0 required by
> >(gnome-base/gnome-light-2.32.1::gentoo, ebuild scheduled
> >for merge)
>   (gnome-extra/gnome-media-2.32.0-r1::gentoo, ebuild scheduled for
> merge) pulled in by gnome-extra/gnome-media required by @selected
> 
> >=gnome-extra/gnome-media-2.11.91 required by
> >(media-sound/sound-juicer-2.32.0::gentoo, ebuild
> >scheduled for merge)
>  (media-sound/sound-juicer-2.32.0::gentoo, ebuild scheduled for
> merge)
> 
> I had version gnome-media-2.32.0-r300 installed.
> depclean -vp gnome-media-2.32.0-300 showed that it could be removed
> so I did a quickpkg and a depclean -v, which did remove it.
> 
> However this didn't help
> 
> [blocks B  ](" media-libs/libgnome-media-profiles-3.0.0,
> gnome-base/gnome-control-center-3.0.2) [blocks B  ]
>  (" media-libs/libgnome-media-profiles-3.0.0,
> gnome-base/gnome-control-center-3.0.2)
> 
> Total: 183 packages (82 upgrades, 31 downgrades, 59 new, 9 in new
> slots, 2 reinstalls, 1 uninstall), Size of downloads: 947,710 kB
> Conflict: 1 block (1 unsatisfied)
> Portage tree and overlays:
>  [0] /usr/portage
>  [1] /var/lib/layman/gnome
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (gnome-base/gnome-control-center-3.0.2::gnome, installed) pulled
> in by
> >=gnome-base/gnome-control-center-2.32.0 required by
> >(gnome-base/gnome-light-2.32.1::gentoo, ebuild scheduled
> >for merge)
>   (gnome-extra/gnome-media-2.32.0-r1::gentoo, ebuild scheduled for
> merge) pulled in by
> >=gnome-extra/gnome-media-2.11.91 required by
> >(media-sound/sound-juicer-2.32.0::gentoo, ebuild
> >scheduled for merge)
>  (media-sound/sound-juicer-2.32.0::gentoo, ebuild scheduled for
> merge)
> 
> any help would appreciated.
> 
> thanks,
> allan
-- 
alan dot mckinnon at gmail dot com