Re: [gentoo-user] gentoo forgets DATE adjust

2011-11-07 Thread Florian Philipp
Am 08.11.2011 02:48, schrieb Érico Porto:
> When I was installing my system I typed the date and hour wrong , and
> didn't noticed, and as far my computer knows, today is tomorrow, two
> hours wrong...
> 
> I thought it was ok to change later, but actually, I can't. If I type
> the date command to change time, it changes ok, but when I boot, my
> system forgets it, and it's tomorrow again.. I've tried some ideas from
> the web, but nothing worked..
> 
> Is this a known bug? 
> 
> Érico V. Porto

Edit /etc/conf.d/hwclock and set clock_systohc="YES". Make sure hwclock
is in runlevel boot.

If you have an internet connection during boot-up, you should also
emerge net-misc/ntp and add ntp-client and ntpd to runlevel default.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo forgets DATE adjust

2011-11-07 Thread Mick
On Tuesday 08 Nov 2011 06:47:42 Mick wrote:
> On Tuesday 08 Nov 2011 01:48:30 Érico Porto wrote:
> > When I was installing my system I typed the date and hour wrong , and
> > didn't noticed, and as far my computer knows, today is tomorrow, two
> > hours wrong...
> > 
> > I thought it was ok to change later, but actually, I can't. If I type the
> > date command to change time, it changes ok, but when I boot, my system
> > forgets it, and it's tomorrow again.. I've tried some ideas from the web,
> > but nothing worked..
> > 
> > Is this a known bug?
> > 
> > Érico V. Porto
> 
> Consider setting the time in your BIOS.
> 
> Alternatively, read man hwclock and set it with that.

Oops!  I forgot to say:

Instead of doing this manually, check your /etc/conf.d/hwclock is set up 
correctly and that rc-update -s -v shows:

  hwclock | boot
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] gentoo forgets DATE adjust

2011-11-07 Thread Mick
On Tuesday 08 Nov 2011 01:48:30 Érico Porto wrote:
> When I was installing my system I typed the date and hour wrong , and
> didn't noticed, and as far my computer knows, today is tomorrow, two hours
> wrong...
> 
> I thought it was ok to change later, but actually, I can't. If I type the
> date command to change time, it changes ok, but when I boot, my system
> forgets it, and it's tomorrow again.. I've tried some ideas from the web,
> but nothing worked..
> 
> Is this a known bug?
> 
> Érico V. Porto

Consider setting the time in your BIOS.

Alternatively, read man hwclock and set it with that.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] "/usr/bin/[" and coreutils

2011-11-07 Thread Pandu Poluan
On Nov 8, 2011 1:01 PM, "Pandu Poluan"  wrote:
>
>
> On Nov 8, 2011 9:02 AM, "Claudio Roberto França Pereira" <
spide...@gmail.com> wrote:
> >
> > What about [[? I've seen scripts using [[ instead of only one [. Whats
the point/difference?
>
> AFAIK [[ was originally a bash-specific built-in command that provides
more functionality than /bin/[, but can still use /bin/['s convoluted
syntax.
>
> The two converged quickly, though. IIRC [ is now also a bash built-in,
which still maintains compatibility with /bin/[
>
> An example:
>
> [ $VAR ] will produce an error if VAR is empty or unset, but [[ $VAR ]]
won't.
>
> (for the former, you have to put double quotes around, e.g., [ "$VAR"] )
>

Uh... of course there should be a space between the second double-quote and
the closing bracket.

Rgds,


Re: [gentoo-user] "/usr/bin/[" and coreutils

2011-11-07 Thread Pandu Poluan
On Nov 8, 2011 9:02 AM, "Claudio Roberto França Pereira" 
wrote:
>
> What about [[? I've seen scripts using [[ instead of only one [. Whats
the point/difference?

AFAIK [[ was originally a bash-specific built-in command that provides more
functionality than /bin/[, but can still use /bin/['s convoluted syntax.

The two converged quickly, though. IIRC [ is now also a bash built-in,
which still maintains compatibility with /bin/[

An example:

[ $VAR ] will produce an error if VAR is empty or unset, but [[ $VAR ]]
won't.

(for the former, you have to put double quotes around, e.g., [ "$VAR"] )

Rgds,


Re:[gentoo-user] Re: Re: Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender
在 2011-11-07 22:28:34,microcai  写道:
>merge the utf8 branch ,  enable CJK font , recompile your kernel. enjoy it.
>
Thank you very much !


Re: [gentoo-user] CONFIG_USB_SUSPEND, where ?

2011-11-07 Thread Claudio Roberto França Pereira
On Sat, Oct 15, 2011 at 09:18, Felix Kuperjans wrote:

> Am 15.10.2011 13:57, schrieb Jonas de Buhr:
> > Am Sat, 15 Oct 2011 00:54:48 -0700
> > schrieb Canek Peláez Valdés :
> >
> >> On Sat, Oct 15, 2011 at 12:49 AM, Alain Didierjean
> >>  wrote:
> >>> * Messages for package sys-fs/udisks-1.0.4-r1:
> >>>
> >>> *   CONFIG_USB_SUSPEND: is not set when it should be.
> >>>
> >>> As the message above from emerge says, no way to update
> >>> sys-fs/udisks as CONFIG_USB_SUSPEND is not set. The problem is
> >>> where to find that option. Not in linux/.config, so where ?
> > i think it only shows up there if it is already set. AFAIK the
> > kernel options are defined in the various Kconfig files spread
> > throughout the source tree. in this case
> >
> > drivers/usb/core/Kconfig
> >
> > when searching for an option you can do
> >
> > find /usr/src/linux/ -name Kconfig \
> > -exec grep USB_SUSPEND {} /dev/null \;
> >
> > which gives you two hits:
> >
> > /usr/src/linux/drivers/usb/core/Kconfig:config USB_SUSPEND
> > /usr/src/linux/drivers/usb/core/Kconfig:  depends on USB_SUSPEND
> >
> > and
> >
> > grep -A 20 'config USB_SUSPEND' /usr/src/linux/drivers/usb/core/Kconfig
> >
> > giving you description and help:
> >
> > config USB_SUSPEND
> >   bool "USB runtime power management (autosuspend) and wakeup"
> >   depends on USB && PM_RUNTIME
> >   help
> > If you say Y here, you can use driver calls or the sysfs
> > "power/control" file to enable or disable autosuspend for
> > individual USB peripherals (see
> > Documentation/usb/power-management.txt for more details).
> >
> > Also, USB "remote wakeup" signaling is supported, whereby some
> > USB devices (like keyboards and network adapters) can wake up
> > their parent hub.  That wakeup cascades up the USB tree, and
> > could wake the system from states like suspend-to-RAM.
> >
> > If you are unsure about this, say N here.
> >
> >
> >> Cool tip for the future: Go to /usr/src/linux, type "make menuconfig".
> >> Then type "/" (slash). Then type SUSPEND and ENTER. It will show you
> >> all the kernel options with SUSPEND on them.
> > or this, of course ;)
> This is my preferred way of searching the config. Note that you can't
> select "USB runtime and power management (autosuspend) and wakeup", if
> "Power management and ACPI options -> Run-time PM core functionality" is
> not set.
>
> I forgot that some time ago, leading to some errors while unmounting USB
> sticks with udisks (although most of udisks works without this option
> set, it just can't power down USB devices after they are unmounted).
> >> In particular, for USB_SUSPEND it says:
> >>
> >> Symbol: USB_SUSPEND [=y]
> >> Type  : boolean
> >> Prompt: USB runtime power management (autosuspend) and wakeup
> >>Defined at drivers/usb/core/Kconfig:93
> >>Depends on: USB_SUPPORT [=y] && USB [=y] && PM_RUNTIME [=y]
> >>Location:
> >>   -> Device Drivers
> >>  -> USB support (USB_SUPPORT [=y])
> >> -> Support for Host-side USB (USB [=y])
> >>
> >> So there, is in Device Drivers -> USB support -> Support for
> >> Host-side USB.
> >>
> >> Regards.
>

That's extremely hardcore. Using / in menuconfig will not only give you the
menu where the option resides, but also state it's status (checked,
unchecked or module), it's dependencies and short description.


Re: [gentoo-user] "/usr/bin/[" and coreutils

2011-11-07 Thread Claudio Roberto França Pereira
What about [[? I've seen scripts using [[ instead of only one [. Whats the
point/difference?


[gentoo-user] gentoo forgets DATE adjust

2011-11-07 Thread Érico Porto
When I was installing my system I typed the date and hour wrong , and
didn't noticed, and as far my computer knows, today is tomorrow, two hours
wrong...

I thought it was ok to change later, but actually, I can't. If I type the
date command to change time, it changes ok, but when I boot, my system
forgets it, and it's tomorrow again.. I've tried some ideas from the web,
but nothing worked..

Is this a known bug?

Érico V. Porto


Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-07 Thread Pandu Poluan
On Nov 7, 2011 10:04 PM, "Scott Stevenson"  wrote:
>
> On 07/11/11 at 09:28 AM, Srdjan Rakic wrote:
> > I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since
I'm
> > having trouble with dispatch-conf displaying content in a really weird
way.
> > http://i.imgur.com/YFdLh.jpg
> > Setting it back to 'less' doesn't help. Any ideas on how to fix this?
Here
> > is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/
>
> The ANSI escape sequences are from colordiff; try changing line 25 of
> dispatch.conf to use plain diff instead.
>

I also have been experiencing the same problem, and knew that it's gotta be
something simple >.<

That said, reverting to plain diff will cause me to lose colorization, no?
Hmmm... time to whup up some vim syntax script, then...

Rgds,


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Pandu Poluan
On Nov 7, 2011 10:17 PM, "Massimiliano Ziccardi" <
massimiliano.zicca...@gmail.com> wrote:
>
> they told me 255.255.255.255 is ok
>
> I really thank you all very much for your support!
>

Cool! That should solve the problem of a subnet being associated to dev lo

Anyways, this is also a good knowledge for me :-)

Rgds,


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread pk
On 2011-11-07 19:29, Jarry wrote:

> just out of curiosity: is it possible to use ext4/ext3
> filesystem even for separate /boot partition?

I've been using ext4 for quite a while as a /boot partition. One of the
"features" of ext4 is that you can use it without a journal (while still
using extents and other benefits[1]), which is what I'm doing (for /boot
- journal for the rest of the partitions)... but I wouldn't worry too
much about a partition that's usually measured in 100MBs; ext2 will be
fine too.

[1] http://kernelnewbies.org/Ext4

Best regards

Peter K



Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-07 Thread Érico Porto
(small parenthesis, has anyone tried one of those KKL Vag-Com USB/OBDII
cables on linux? I'm trying it using pyobd, but it doesn't seem to work
very well.. I could find fiat stuff in here
http://www.nailed-barnacle.co.uk/coupe/startrek/startrek.html, but no
Volkswagen stuff, timing, device initialization, does anyone knows it?)

Érico V. Porto


On Mon, Nov 7, 2011 at 3:58 PM, Érico Porto wrote:

> A guy replied this in the e2e ti`s community :
> *
> n the directory /etc/udev/rules.d/ create a file with the name
> 026_ti_usb_3410.rules *
>
> *Copy to into this file the following lines*
> * *
>
> *#TI USB 3410*
> * *
>
> *SUBSYSTEM=="usb_device" ACTION=="add"
> SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \*
> * *
>
> *SYSFS{bNumConfigurations}=="2" \*
> * *
>
> *SYSFS{bConfigurationValue}=="1" \*
> * *
>
> *RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"*
> * *
>
> * *
> * *
>
> *NOTE: Please replace the VID/PID with your device’s VID/PID.*
> * *
>
> * *
> * *
>
> * *
> * *
>
> *At the time you finish this process reboot your system and connect your
> device and you must be able to see the node in /dev/ttyUSB0 as your serial
> port.*
>
>
> I will try this when I get home.
>
> Érico V. Porto
>
>
>
> On Sun, Nov 6, 2011 at 10:27 PM, Aljosha Papsch 
> wrote:
>
>> 2011/11/7 Érico Porto :
>> > oh no, I don't think it is a bug.
>> > I mean, this is suposed to be open using some tool named mspdebug of
>> some
>> > sorta:
>> http://hackaday.com/2010/08/11/how-to-launchpad-programming-with-linux/
>> > But I know this chip is a usb to serial adapter, only the product Id is
>> > exchanged to be a Development Tool. To change the vendor and product
>> id, I
>> > found a how-to here
>> > :
>> http://www.brimson.com/downloads/ti_usb_multitech_release_notes-1.1.txt
>> > It doesn't seem to do nothing, but maybe I have to write some code on
>> the
>> > msp before. I haven't used this board much, but it is the only thing I
>> have
>> > to test now - I need to interface with   a gps chip, but I have no
>> serials
>> > available, so later I plan to use this chip. I know I have loaded this
>> as a
>> > serial long before...
>> > Érico V. Porto
>> >
>> >
>> > On Sun, Nov 6, 2011 at 9:58 PM, Aljosha Papsch <
>> papsch...@googlemail.com>
>> > wrote:
>> >>
>> >> 2011/11/7 Érico Porto :
>> >> > Yeah, seem udev is the problem.
>> >> > I'm reading http://hackaday.com/2009/09/18/how-to-write-udev-rules/
>> >> > It seems once this is done right, thing will work
>> >> > Thanks!
>> >> > (right now, it sees it as generic usb something...)
>> >> > Érico V. Porto
>> >> >
>> >> >
>> >> > On Sun, Nov 6, 2011 at 9:20 PM, Dale  wrote:
>> >> >>
>> >> >> Érico Porto wrote:
>> >> >>>
>> >> >>> so now the module is loadable through modprobe, it all makes with
>> no
>> >> >>> errors.
>> >> >>>
>> >> >>> It's probably out of this topic, but shouldn't I see a ttyUSB or
>> >> >>> something like that in my /dev/ ?
>> >> >>>
>> >> >>> I tried using
>> >> >>>
>> >> >>> modprobe ti_usb_3410_5052 product=0451 vendor f432
>> >> >>>
>> >> >>> I just wanted to read the virtual usb serial out of a Texas
>> launchpad
>> >> >>> board. This board uses the TUSB3410 chip. I'm asking about this in
>> the
>> >> >>> texas
>> >> >>> forums too, just was surprised to see so many fast answers.
>> >> >>>
>> >> >>> Érico V. Porto
>> >> >>>
>> >> >>
>> >> >> I would think udev would create the device when it is connected or
>> you
>> >> >> boot up, whichever comes first.  I have no knowledge on the device
>> you
>> >> >> are
>> >> >> using but do on the kernel part.  If you load the module, udev
>> should
>> >> >> then
>> >> >> see the device and create the file in /dev.  That's the theory
>> anyway.
>> >> >>  You
>> >> >> can use udevadm monitor to see if udev sees it as it should.  You
>> can
>> >> >> also
>> >> >> tail -f /var/log/messages to see what happens when you connect it or
>> >> >> look in
>> >> >> dmesg.  One or more of those should tell you what is not working.
>> >> >>
>> >> >> Dale
>> >> >>
>> >> >> :-)  :-)
>> >> >>
>> >> >
>> >> >
>> >>
>> >> I'm also not familiar with your device, but some devices need to be
>> >> mode switched manually if they show up as something different. You can
>> >> use usb-modeswitch for that or some more convenient tool like sakis3g:
>> >> http://www.sakis3g.org/
>> >>
>> >> Btw: I'll report a bug in Gentoo's Bugzilla regarding your (and mine)
>> >> problem. Maybe others are affected too and this option can be switched
>> >> off at least for genkernel users.
>> >>
>> >
>> >
>>
>> Sorry, I wasn't clear enough: I reported the bug, that installation of
>> the kernel will fail if FIRMWARE_IN_KERNEL is enabled. You can add you
>> to the list, if you want:
>> https://bugs.gentoo.org/show_bug.cgi?id=389775
>>
>>
>


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread Michael Mol
On Mon, Nov 7, 2011 at 3:42 PM, Stroller  wrote:
> On 7 November 2011, at 19:32, Michael Mol wrote:
>> On Mon, Nov 7, 2011 at 2:26 PM, Alan McKinnon  
>> wrote:
>>> ext2/3/4 are all backwards compatible. ext4 does have a certain feature
>>> (I forget what) that once used breaks this compatibility but you are
>>> highly, highly unlikely to ever do that on /boot.
>>
>> "Extents," I believe. But I don't know exactly what that means, or
>> when it comes into play.
>
> It means, as a huge simplification, that ext4 can allocate a file to blocks 
> 1234 - 1256, instead of having to separately allocate blocks 1234, 1235, 
> 1236, 1237, 1238, 1239, 1240, and so on (as ext3 would have had to do).
>
> This fixes ext3's "slow deletes" problem, because only a single entry in the 
> allocation table needs to be removed, instead of many. If you delete a big 
> file (say a 9gig DVD or 40gig blu-ray .iso image file) it's at least an order 
> of magnitude slower on ext3 than it is on ext4.
>
> As I said, this is a huge simplification, and I'm sure there are folks who 
> would take pleasure in explaining how wrong it is, but it's a good enough 
> explanation for a couple of sentences that you can easily grasp. For more 
> details the "Features - Extents" section of ext4's wikipedia page [1] and 
> this other article [2] (these are top hits on Google for "ext4 extents") look 
> pretty good.
>
> Stroller.
>
> [1] http://en.wikipedia.org/wiki/Ext4#Features
> [2] 
> http://computer-forensics.sans.org/blog/2011/03/28/digital-forensics-understanding-ext4-part-3-extent-trees

Very, very nice reads. Thanks.


-- 
:wq



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread Stroller

On 7 November 2011, at 19:32, Michael Mol wrote:

> On Mon, Nov 7, 2011 at 2:26 PM, Alan McKinnon  wrote:
>> ext2/3/4 are all backwards compatible. ext4 does have a certain feature
>> (I forget what) that once used breaks this compatibility but you are
>> highly, highly unlikely to ever do that on /boot.
> 
> "Extents," I believe. But I don't know exactly what that means, or
> when it comes into play.

It means, as a huge simplification, that ext4 can allocate a file to blocks 
1234 - 1256, instead of having to separately allocate blocks 1234, 1235, 1236, 
1237, 1238, 1239, 1240, and so on (as ext3 would have had to do).

This fixes ext3's "slow deletes" problem, because only a single entry in the 
allocation table needs to be removed, instead of many. If you delete a big file 
(say a 9gig DVD or 40gig blu-ray .iso image file) it's at least an order of 
magnitude slower on ext3 than it is on ext4.

As I said, this is a huge simplification, and I'm sure there are folks who 
would take pleasure in explaining how wrong it is, but it's a good enough 
explanation for a couple of sentences that you can easily grasp. For more 
details the "Features - Extents" section of ext4's wikipedia page [1] and this 
other article [2] (these are top hits on Google for "ext4 extents") look pretty 
good.

Stroller.




[1] http://en.wikipedia.org/wiki/Ext4#Features
[2] 
http://computer-forensics.sans.org/blog/2011/03/28/digital-forensics-understanding-ext4-part-3-extent-trees


[gentoo-user] Re: ext4/ext3 for /boot?

2011-11-07 Thread Nikos Chantziaras

On 11/07/2011 09:32 PM, Michael Mol wrote:

On Mon, Nov 7, 2011 at 2:26 PM, Alan McKinnon  wrote:

ext2/3/4 are all backwards compatible. ext4 does have a certain feature
(I forget what) that once used breaks this compatibility but you are
highly, highly unlikely to ever do that on /boot.


"Extents," I believe. But I don't know exactly what that means, or
when it comes into play.


Works just fine with extents too.  At least Grub as included in Portage 
(it contains patches that add support for ext4.)





Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread Alex Schuster
Jarry writes:

> just out of curiosity: is it possible to use ext4/ext3
> filesystem even for separate /boot partition?

Yes. But a separate /boot partition is small, it is seldomly being
written to, it is often unmounted anyway, and a fsck is very fast on
such a small partition. So there is not much benefit of having a
journal. On the contrary, the journal takes some space that is wasted.
So I would just use ext2. But if you have the space, ext4 is fine.

Wonko



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread Michael Mol
On Mon, Nov 7, 2011 at 2:26 PM, Alan McKinnon  wrote:
> ext2/3/4 are all backwards compatible. ext4 does have a certain feature
> (I forget what) that once used breaks this compatibility but you are
> highly, highly unlikely to ever do that on /boot.

"Extents," I believe. But I don't know exactly what that means, or
when it comes into play.

> The benefits of ext3/4 are irrelevant for /boot anyway - that
> filesystem is write-seldom, read ever so slightly more often.

Well, there's ext4's "high water" mark, which reduces fsck time...but
/boot is generally small enough that fsck time is negligible.

-- 
:wq



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread Alan McKinnon
On Mon, 07 Nov 2011 19:29:06 +0100
Jarry  wrote:

> Hi,
> just out of curiosity: is it possible to use ext4/ext3
> filesystem even for separate /boot partition?

Yes.

ext2/3/4 are all backwards compatible. ext4 does have a certain feature
(I forget what) that once used breaks this compatibility but you are
highly, highly unlikely to ever do that on /boot.

The benefits of ext3/4 are irrelevant for /boot anyway - that
filesystem is write-seldom, read ever so slightly more often.



> For /boot I'm still using ext2, but a friend of mine
> is just doing installation and asked me what filesystem
> he should use, so I told him not to complicate things
> and simply use ext4 for all. But now I'm not so sure if he
> is able to boot his new fresh gentoo-system at the end?
> 
> Jarry



-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread Stéphane Guedon
On Monday 07 November 2011 19:29:06 Jarry wrote:
> Hi,
> just out of curiosity: is it possible to use ext4/ext3
> filesystem even for separate /boot partition?
> 
> For /boot I'm still using ext2, but a friend of mine
> is just doing installation and asked me what filesystem
> he should use, so I told him not to complicate things
> and simply use ext4 for all. But now I'm not so sure if he
> is able to boot his new fresh gentoo-system at the end?
> 
> Jarry

I use ext4 as /, with a boot directory (so my / is /boot).
Don't worry !

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] ext4/ext3 for /boot?

2011-11-07 Thread Jarry

Hi,
just out of curiosity: is it possible to use ext4/ext3
filesystem even for separate /boot partition?

For /boot I'm still using ext2, but a friend of mine
is just doing installation and asked me what filesystem
he should use, so I told him not to complicate things
and simply use ext4 for all. But now I'm not so sure if he
is able to boot his new fresh gentoo-system at the end?

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Re: Digest of gentoo-user@lists.gentoo.org issue 2510 (130678-130727)

2011-11-07 Thread Michael Mol
On Mon, Nov 7, 2011 at 1:05 PM, Dale  wrote:
> Derek Faust wrote:
>>
>> unsubscribe
>>
>>
>
> Nope, not yet.  You can check in but you can't leave. OK.  Maybe if you
> check this out.
>
> http://www.gentoo.org/main/en/lists.xml
>
> Good luck.
>
> Dale

Thanks, Dale, now I've got Hotel California stuck in my head.

-- 
:wq



Re: [gentoo-user] Re: Digest of gentoo-user@lists.gentoo.org issue 2510 (130678-130727)

2011-11-07 Thread Dale

Derek Faust wrote:

unsubscribe




Nope, not yet.  You can check in but you can't leave. OK.  Maybe if you 
check this out.


http://www.gentoo.org/main/en/lists.xml

Good luck.

Dale

:-)  :-)



Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-07 Thread Érico Porto
A guy replied this in the e2e ti`s community :
*
n the directory /etc/udev/rules.d/ create a file with the name
026_ti_usb_3410.rules *

*Copy to into this file the following lines*
* *

*#TI USB 3410*
* *

*SUBSYSTEM=="usb_device" ACTION=="add"
SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \*
* *

*SYSFS{bNumConfigurations}=="2" \*
* *

*SYSFS{bConfigurationValue}=="1" \*
* *

*RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"*
* *

* *
* *

*NOTE: Please replace the VID/PID with your device’s VID/PID.*
* *

* *
* *

* *
* *

*At the time you finish this process reboot your system and connect your
device and you must be able to see the node in /dev/ttyUSB0 as your serial
port.*


I will try this when I get home.

Érico V. Porto


On Sun, Nov 6, 2011 at 10:27 PM, Aljosha Papsch wrote:

> 2011/11/7 Érico Porto :
> > oh no, I don't think it is a bug.
> > I mean, this is suposed to be open using some tool named mspdebug of some
> > sorta:
> http://hackaday.com/2010/08/11/how-to-launchpad-programming-with-linux/
> > But I know this chip is a usb to serial adapter, only the product Id is
> > exchanged to be a Development Tool. To change the vendor and product id,
> I
> > found a how-to here
> > :
> http://www.brimson.com/downloads/ti_usb_multitech_release_notes-1.1.txt
> > It doesn't seem to do nothing, but maybe I have to write some code on the
> > msp before. I haven't used this board much, but it is the only thing I
> have
> > to test now - I need to interface with   a gps chip, but I have no
> serials
> > available, so later I plan to use this chip. I know I have loaded this
> as a
> > serial long before...
> > Érico V. Porto
> >
> >
> > On Sun, Nov 6, 2011 at 9:58 PM, Aljosha Papsch  >
> > wrote:
> >>
> >> 2011/11/7 Érico Porto :
> >> > Yeah, seem udev is the problem.
> >> > I'm reading http://hackaday.com/2009/09/18/how-to-write-udev-rules/
> >> > It seems once this is done right, thing will work
> >> > Thanks!
> >> > (right now, it sees it as generic usb something...)
> >> > Érico V. Porto
> >> >
> >> >
> >> > On Sun, Nov 6, 2011 at 9:20 PM, Dale  wrote:
> >> >>
> >> >> Érico Porto wrote:
> >> >>>
> >> >>> so now the module is loadable through modprobe, it all makes with no
> >> >>> errors.
> >> >>>
> >> >>> It's probably out of this topic, but shouldn't I see a ttyUSB or
> >> >>> something like that in my /dev/ ?
> >> >>>
> >> >>> I tried using
> >> >>>
> >> >>> modprobe ti_usb_3410_5052 product=0451 vendor f432
> >> >>>
> >> >>> I just wanted to read the virtual usb serial out of a Texas
> launchpad
> >> >>> board. This board uses the TUSB3410 chip. I'm asking about this in
> the
> >> >>> texas
> >> >>> forums too, just was surprised to see so many fast answers.
> >> >>>
> >> >>> Érico V. Porto
> >> >>>
> >> >>
> >> >> I would think udev would create the device when it is connected or
> you
> >> >> boot up, whichever comes first.  I have no knowledge on the device
> you
> >> >> are
> >> >> using but do on the kernel part.  If you load the module, udev should
> >> >> then
> >> >> see the device and create the file in /dev.  That's the theory
> anyway.
> >> >>  You
> >> >> can use udevadm monitor to see if udev sees it as it should.  You can
> >> >> also
> >> >> tail -f /var/log/messages to see what happens when you connect it or
> >> >> look in
> >> >> dmesg.  One or more of those should tell you what is not working.
> >> >>
> >> >> Dale
> >> >>
> >> >> :-)  :-)
> >> >>
> >> >
> >> >
> >>
> >> I'm also not familiar with your device, but some devices need to be
> >> mode switched manually if they show up as something different. You can
> >> use usb-modeswitch for that or some more convenient tool like sakis3g:
> >> http://www.sakis3g.org/
> >>
> >> Btw: I'll report a bug in Gentoo's Bugzilla regarding your (and mine)
> >> problem. Maybe others are affected too and this option can be switched
> >> off at least for genkernel users.
> >>
> >
> >
>
> Sorry, I wasn't clear enough: I reported the bug, that installation of
> the kernel will fail if FIRMWARE_IN_KERNEL is enabled. You can add you
> to the list, if you want:
> https://bugs.gentoo.org/show_bug.cgi?id=389775
>
>


[gentoo-user] Re: Digest of gentoo-user@lists.gentoo.org issue 2510 (130678-130727)

2011-11-07 Thread Derek Faust
unsubscribe



Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-07 Thread Srdjan Rakic
Thank you! That solved the problem.

On Mon, Nov 7, 2011 at 9:59 AM, Scott Stevenson wrote:

> On 07/11/11 at 09:28 AM, Srdjan Rakic wrote:
> > I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since
> I'm
> > having trouble with dispatch-conf displaying content in a really weird
> way.
> > http://i.imgur.com/YFdLh.jpg
> > Setting it back to 'less' doesn't help. Any ideas on how to fix this?
> Here
> > is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/
>
> The ANSI escape sequences are from colordiff; try changing line 25 of
> dispatch.conf to use plain diff instead.
>
> --
> Scott Stevenson
>


[gentoo-user] Re: [gentoo-user] Re: Re: Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Blackdream W
i appreciate you doing this for Chinese user.

2011/11/7 microcai 

> merge the utf8 branch ,  enable CJK font , recompile your kernel. enjoy it.
>
>
> 在 2011年11月7日 下午9:48,Lavender  写道:
> > I have created file named "00locale" in directory /etc/env.d/
> > The content of "00locale" is like below:
> > LANG="zh_CN.UTF-8"
> > LC_CTYPE="zh_CN.UTF-8"
> > the rest variables are all "en_US.UTF-8"
> >
> > Then I used commands below:
> > #locale-gen
> > #env-update && source /etc/profile
> > But it still can't show Chinese, you said that a console font that
> displays
> > double byte
> > also needed,so which font should I choose?
> > At 2011-11-07 13:10:03,bill.long...@gmail.com wrote:
> >
> > On Nov 6, 2011 8:01 PM, Lavender  wrote:
> >
> > Lavender,
> >
> > You should look into changing your locale, as a start. You can start here
> >
> > http://www.gentoo.org/doc/en/guide-localization.xml
> >
> > but for chinese you will also need to choose a console font that displays
> > double byte.
> >
> >
> > 在 2011-11-07 11:20:04,"aca.jingru"  写道:
> >
> > zhcon
> >
> > 
> > aca.jingru
> >
> > Someone told me that zhcon is not stable, it may result in system crash.
> > I think safe method may be needed.
> >
> >
> >
> >
>
>


-- 
*Ben.Wong*


[gentoo-user] Re: Re: [gentoo-user] Re: Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Blackdream W
@Lavender I think u type a wrong keywords.^_^

在 2011年11月7日 下午6:16,Lavender 写道:

>
>
>
> >:) 这家伙比较忙, 用到新内核上可能需要费点功夫。我是个闲人,我修改过补丁
> >会及时跟进最新的内核的。 ^_^
> >
> >repo.or.cz/w/linux-2.6/cjktty.git
>
> >
> Er , I'm not very clear about what you said. These stuffs in the webpage
>
> that you gave, which should be picked and how to use ?
>
>
>
>


-- 
*Ben.Wong*


Re: [gentoo-user] Re: udev rules for an iPod Touch?

2011-11-07 Thread Mark Knecht
On Mon, Nov 7, 2011 at 7:00 AM, Grant Edwards  wrote:
> On 2011-11-07, J. Roeleveld  wrote:
>> On Sun, November 6, 2011 6:49 pm, Volker Armin Hemmann wrote:
>>> Am Samstag 05 November 2011, 20:45:15 schrieb Joost Roeleveld:
>>>
 Virtualbox has decent USB-pass-through support. Even quite high
 performance.
 >    Thanks for your help. I do appreciate it
>>>
>>> virtualbox is also pretty broken at the moment.
>>
>> Broken in what way?
>> I am happily using it without any issues.
>
> I use it regularly as well without any problems.
>

As do I. No real problems with it at all.
- Mark



Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
they told me 255.255.255.255 is ok

I really thank you all very much for your support!

Regards,
Massimiliano

On Mon, Nov 7, 2011 at 15:48, Massimiliano Ziccardi <
massimiliano.zicca...@gmail.com> wrote:

> try assigning a netmask of 255.255.255.255 to it.
>
>
> Seems to work!
> I'm asking to the network administrators if 255.255.255.255 is ok !
>
> I'll let you know!
>
> Thank you all! Gentoo's mailing list il always the best one!
>
> Thanks!
>
>


[gentoo-user] Re: udev rules for an iPod Touch?

2011-11-07 Thread Grant Edwards
On 2011-11-07, J. Roeleveld  wrote:
> On Sun, November 6, 2011 6:49 pm, Volker Armin Hemmann wrote:
>> Am Samstag 05 November 2011, 20:45:15 schrieb Joost Roeleveld:
>>
>>> Virtualbox has decent USB-pass-through support. Even quite high
>>> performance.
>>> >Thanks for your help. I do appreciate it
>>
>> virtualbox is also pretty broken at the moment.
>
> Broken in what way?
> I am happily using it without any issues.

I use it regularly as well without any problems.

-- 
Grant Edwards   grant.b.edwardsYow! Everybody is going
  at   somewhere!!  It's probably
  gmail.coma garage sale or a disaster
   Movie!!




Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-07 Thread Scott Stevenson
On 07/11/11 at 09:28 AM, Srdjan Rakic wrote:
> I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since I'm
> having trouble with dispatch-conf displaying content in a really weird way.
> http://i.imgur.com/YFdLh.jpg
> Setting it back to 'less' doesn't help. Any ideas on how to fix this? Here
> is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/

The ANSI escape sequences are from colordiff; try changing line 25 of
dispatch.conf to use plain diff instead.

-- 
Scott Stevenson


signature.asc
Description: Digital signature


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
>
> try assigning a netmask of 255.255.255.255 to it.


Seems to work!
I'm asking to the network administrators if 255.255.255.255 is ok !

I'll let you know!

Thank you all! Gentoo's mailing list il always the best one!

Thanks!


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 15:20:12 schrieb Massimiliano Ziccardi:
> Maybe I found where the problem is!
> Shutting down lo:0 everything seems to work properly!
> However I need to configure lo:0 for local triangulation (balancing through
> RADWARE): how should I configure it to not conflict with the other network
> cards?

try assigning a netmask of 255.255.255.255 to it.

> Thanks!
> Massimiliano Ziccardi

Best,
Michael




[gentoo-user] dispatch-conf not showing correctly

2011-11-07 Thread Srdjan Rakic
Hello,

I've changed MANPAGER to vimmanpager and PAGER to vimpager. Ever since I'm
having trouble with dispatch-conf displaying content in a really weird way.
http://i.imgur.com/YFdLh.jpg
Setting it back to 'less' doesn't help. Any ideas on how to fix this? Here
is my dispatch.conf.conf: http://paste.pocoo.org/show/504112/

Any help appreciated.

Thank you.


[gentoo-user] Re: Re: Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread microcai
merge the utf8 branch ,  enable CJK font , recompile your kernel. enjoy it.


在 2011年11月7日 下午9:48,Lavender  写道:
> I have created file named "00locale" in directory /etc/env.d/
> The content of "00locale" is like below:
> LANG="zh_CN.UTF-8"
> LC_CTYPE="zh_CN.UTF-8"
> the rest variables are all "en_US.UTF-8"
>
> Then I used commands below:
> #locale-gen
> #env-update && source /etc/profile
> But it still can't show Chinese, you said that a console font that displays
> double byte
> also needed,so which font should I choose?
> At 2011-11-07 13:10:03,bill.long...@gmail.com wrote:
>
> On Nov 6, 2011 8:01 PM, Lavender  wrote:
>
> Lavender,
>
> You should look into changing your locale, as a start. You can start here
>
> http://www.gentoo.org/doc/en/guide-localization.xml
>
> but for chinese you will also need to choose a console font that displays
> double byte.
>
>
> 在 2011-11-07 11:20:04,"aca.jingru"  写道:
>
> zhcon
>
> 
> aca.jingru
>
> Someone told me that zhcon is not stable, it may result in system crash.
> I think safe method may be needed.
>
>
>
>



Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Pandu Poluan
I'm going to highlight anomalous routes, those that have no business in the
local table.

On Nov 7, 2011 9:14 PM, "Massimiliano Ziccardi" <
massimiliano.zicca...@gmail.com> wrote:
>>
>> I've been deploying multi-interface Linux gateways since 2008, so I'll
try.
>> Please post:
>> - output of ip rule sh
>
>
> # ip rule sh
> 0:  from all lookup local
> 32766:  from all lookup main
> 32767:  from all lookup default
>
> # ip route sh table 0
> 192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
> 195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
> default via 195.75.145.1 dev lo  scope link

These 3 should be in main. In addition, default must not go through dev lo.

> local 195.75.145.0/24 dev lo  table local  proto kernel  scope host  src
195.75.145.120

This is also highly suspect: a subnet should be attached to an ethX dev,
not dev lo. Except 127.0.0.0/8

> # ip route sh table 32766
> # ip route sh table 32767
>
> Both 32766 and 32767 are empty
>

It's normal for 32767 to be empty, but very irregular for main to be empty.

Rgds,


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
Maybe I found where the problem is!
Shutting down lo:0 everything seems to work properly!

However I need to configure lo:0 for local triangulation (balancing through
RADWARE): how should I configure it to not conflict with the other network
cards?

Thanks!

Massimiliano Ziccardi


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
Sorry, I sent you the wrong output of ip route sh table 0.

Follows the right one (sorry!)

# ip route sh table 0
192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
default via 195.75.145.1 dev eth0
broadcast 127.255.255.255 dev lo  table local  proto kernel  scope link
 src 127.0.0.1
local 195.75.145.122 dev eth0  table local  proto kernel  scope host  src
195.75.145.122
broadcast 192.168.19.0 dev eth2  table local  proto kernel  scope link  src
192.168.19.95
broadcast 195.75.145.255 dev eth0  table local  proto kernel  scope link
 src 195.75.145.122
broadcast 195.75.145.255 dev lo  table local  proto kernel  scope link  src
195.75.145.120
local 195.75.145.120 dev lo  table local  proto kernel  scope host  src
195.75.145.120
local 192.168.19.95 dev eth2  table local  proto kernel  scope host  src
192.168.19.95
broadcast 192.168.19.255 dev eth2  table local  proto kernel  scope link
 src 192.168.19.95
broadcast 195.75.145.0 dev eth0  table local  proto kernel  scope link  src
195.75.145.122
broadcast 195.75.145.0 dev lo  table local  proto kernel  scope link  src
195.75.145.120
broadcast 127.0.0.0 dev lo  table local  proto kernel  scope link  src
127.0.0.1
local 127.0.0.1 dev lo  table local  proto kernel  scope host  src 127.0.0.1
local 195.75.145.0/24 dev lo  table local  proto kernel  scope host  src
195.75.145.120
local 127.0.0.0/8 dev lo  table local  proto kernel  scope host  src
127.0.0.1

Regards,
Massimiliano

On Mon, Nov 7, 2011 at 14:59, Pandu Poluan  wrote:

>
> On Nov 7, 2011 8:38 PM, "Massimiliano Ziccardi" <
> massimiliano.zicca...@gmail.com> wrote:
> >>
> >> seems to be a really tricky one...
> >> What does
> >> tracepath 195.75.145.33
> >> give?
> >
> >
> > Here is the output:
> >
> >  1:  195.75.145.33 (195.75.145.33)  0.074ms pmtu
> 16436
> >  1:  195.75.145.33 (195.75.145.33)  0.039ms
> reached
> >  1:  195.75.145.33 (195.75.145.33)  0.028ms
> reached
> >
> > I tried shutting down localhost with:
> >
> > ifconfig lo down.
> >
> > Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
> addresses).
> >
> > And now tracepath gives:
> >
> > 1:  send failed
> >  Resume: pmtu 65535
> >
> > So, for some reason, seems it always uses the 'lo' device...
> >
> > Any idea?
> >
>
> I've been deploying multi-interface Linux gateways since 2008, so I'll try.
>
> Please post:
>
> - output of ip rule sh
> - output of ip route sh table $t, where $t is *all* table names/numbers
> you get from the first output ( "... lookup $t" )
>
> Rgds,
>


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
Our network admin told me to create a lo:0 to that address to create a VIP
to be balanced by the network load balancer.

That is why lo:0 is there...

Thanks!

Regards,
Massimiliano Ziccardi

On Mon, Nov 7, 2011 at 15:01, Michael Schreckenbauer  wrote:

> Am Montag, 7. November 2011, 14:35:46 schrieb Massimiliano Ziccardi:
> > > seems to be a really tricky one...
> > > What does
> > > tracepath 195.75.145.33
> > > give?
> >
> > Here is the output:
> >
> >  1:  195.75.145.33 (195.75.145.33)  0.074ms pmtu
> > 16436
> >  1:  195.75.145.33 (195.75.145.33)  0.039ms
> reached
> >  1:  195.75.145.33 (195.75.145.33)  0.028ms
> reached
> >
> > I tried shutting down localhost with:
> >
> > ifconfig lo down.
> >
> > Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
> > addresses).
> >
> > And now tracepath gives:
> >
> > 1:  send failed
> >  Resume: pmtu 65535
> >
> > So, for some reason, seems it always uses the 'lo' device...
> >
> > Any idea?
>
> I noticed lo:0 is on the same net and has the same netmask as eth0.
> Where does lo:0 come from? Is it needed?
> I have no idea, if this is the problem or even related, just wondering.
>
> > Regards,
> > Massimiliano
>
> Best,
> Michael
>
>
>


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
>
> I've been deploying multi-interface Linux gateways since 2008, so I'll try.
> Please post:
> - output of ip rule sh


# ip rule sh
0:  from all lookup local
32766:  from all lookup main
32767:  from all lookup default

# ip route sh table 0
192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
default via 195.75.145.1 dev lo  scope link
broadcast 127.255.255.255 dev lo  table local  proto kernel  scope link
 src 127.0.0.1
local 195.75.145.122 dev eth0  table local  proto kernel  scope host  src
195.75.145.122
broadcast 192.168.19.0 dev eth2  table local  proto kernel  scope link  src
192.168.19.95
broadcast 195.75.145.255 dev eth0  table local  proto kernel  scope link
 src 195.75.145.122
broadcast 195.75.145.255 dev lo  table local  proto kernel  scope link  src
195.75.145.120
local 195.75.145.120 dev lo  table local  proto kernel  scope host  src
195.75.145.120
local 192.168.19.95 dev eth2  table local  proto kernel  scope host  src
192.168.19.95
broadcast 192.168.19.255 dev eth2  table local  proto kernel  scope link
 src 192.168.19.95
broadcast 195.75.145.0 dev eth0  table local  proto kernel  scope link  src
195.75.145.122
broadcast 195.75.145.0 dev lo  table local  proto kernel  scope link  src
195.75.145.120
broadcast 127.0.0.0 dev lo  table local  proto kernel  scope link  src
127.0.0.1
local 127.0.0.1 dev lo  table local  proto kernel  scope host  src 127.0.0.1
local 195.75.145.0/24 dev lo  table local  proto kernel  scope host  src
195.75.145.120
local 127.0.0.0/8 dev lo  table local  proto kernel  scope host  src
127.0.0.1

# ip route sh table 32766
# ip route sh table 32767

Both 32766 and 32767 are empty

Thanks very much!

Regards,
Massimiliano



On Mon, Nov 7, 2011 at 14:59, Pandu Poluan  wrote:

>
> On Nov 7, 2011 8:38 PM, "Massimiliano Ziccardi" <
> massimiliano.zicca...@gmail.com> wrote:
> >>
> >> seems to be a really tricky one...
> >> What does
> >> tracepath 195.75.145.33
> >> give?
> >
> >
> > Here is the output:
> >
> >  1:  195.75.145.33 (195.75.145.33)  0.074ms pmtu
> 16436
> >  1:  195.75.145.33 (195.75.145.33)  0.039ms
> reached
> >  1:  195.75.145.33 (195.75.145.33)  0.028ms
> reached
> >
> > I tried shutting down localhost with:
> >
> > ifconfig lo down.
> >
> > Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
> addresses).
> >
> > And now tracepath gives:
> >
> > 1:  send failed
> >  Resume: pmtu 65535
> >
> > So, for some reason, seems it always uses the 'lo' device...
> >
> > Any idea?
> >
>
> I've been deploying multi-interface Linux gateways since 2008, so I'll try.
>
> Please post:
>
> - output of ip rule sh
> - output of ip route sh table $t, where $t is *all* table names/numbers
> you get from the first output ( "... lookup $t" )
>
> Rgds,
>


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 14:35:46 schrieb Massimiliano Ziccardi:
> > seems to be a really tricky one...
> > What does
> > tracepath 195.75.145.33
> > give?
> 
> Here is the output:
> 
>  1:  195.75.145.33 (195.75.145.33)  0.074ms pmtu
> 16436
>  1:  195.75.145.33 (195.75.145.33)  0.039ms reached
>  1:  195.75.145.33 (195.75.145.33)  0.028ms reached
> 
> I tried shutting down localhost with:
> 
> ifconfig lo down.
> 
> Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
> addresses).
> 
> And now tracepath gives:
> 
> 1:  send failed
>  Resume: pmtu 65535
> 
> So, for some reason, seems it always uses the 'lo' device...
> 
> Any idea?

I noticed lo:0 is on the same net and has the same netmask as eth0.
Where does lo:0 come from? Is it needed?
I have no idea, if this is the problem or even related, just wondering.

> Regards,
> Massimiliano

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Pandu Poluan
On Nov 7, 2011 8:38 PM, "Massimiliano Ziccardi" <
massimiliano.zicca...@gmail.com> wrote:
>>
>> seems to be a really tricky one...
>> What does
>> tracepath 195.75.145.33
>> give?
>
>
> Here is the output:
>
>  1:  195.75.145.33 (195.75.145.33)  0.074ms pmtu
16436
>  1:  195.75.145.33 (195.75.145.33)  0.039ms
reached
>  1:  195.75.145.33 (195.75.145.33)  0.028ms
reached
>
> I tried shutting down localhost with:
>
> ifconfig lo down.
>
> Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
addresses).
>
> And now tracepath gives:
>
> 1:  send failed
>  Resume: pmtu 65535
>
> So, for some reason, seems it always uses the 'lo' device...
>
> Any idea?
>

I've been deploying multi-interface Linux gateways since 2008, so I'll try.

Please post:

- output of ip rule sh
- output of ip route sh table $t, where $t is *all* table names/numbers you
get from the first output ( "... lookup $t" )

Rgds,


Re:Re: Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender
I have created file named "00locale" in directory /etc/env.d/ 
The content of "00locale" is like below:
LANG="zh_CN.UTF-8"
LC_CTYPE="zh_CN.UTF-8"
the rest variables are all "en_US.UTF-8"
 
Then I used commands below:
#locale-gen
#env-update && source /etc/profile
But it still can't show Chinese, you said that a console font that displays 
double byte
also needed,so which font should I choose? 


At 2011-11-07 13:10:03,bill.long...@gmail.com wrote:
On Nov 6, 2011 8:01 PM, Lavender  wrote:


Lavender,

You should look into changing your locale, as a start. You can start here

http://www.gentoo.org/doc/en/guide-localization.xml

but for chinese you will also need to choose a console font that displays 
double byte.




在 2011-11-07 11:20:04,"aca.jingru"  写道:

zhcon
 
aca.jingru
 
Someone told me that zhcon is not stable, it may result in system crash.
I think safe method may be needed.




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
>
> seems to be a really tricky one...
> What does
> tracepath 195.75.145.33
> give?


Here is the output:

 1:  195.75.145.33 (195.75.145.33)  0.074ms pmtu
16436
 1:  195.75.145.33 (195.75.145.33)  0.039ms reached
 1:  195.75.145.33 (195.75.145.33)  0.028ms reached

I tried shutting down localhost with:

ifconfig lo down.

Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
addresses).

And now tracepath gives:

1:  send failed
 Resume: pmtu 65535

So, for some reason, seems it always uses the 'lo' device...

Any idea?

Regards,
Massimiliano


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 14:15:39 schrieb Massimiliano Ziccardi:
> > could you post  the output of
> > ip route
> > with zeroconf disabled?
> 
> Here it is!
> 
> 192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
> 195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
> default via 195.75.145.1 dev eth0

seems to be a really tricky one...
What does
tracepath 195.75.145.33
give?

> Thanks,
> Massimiliano

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
>
> could you post  the output of
> ip route
> with zeroconf disabled?


Here it is!

192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
default via 195.75.145.1 dev eth0


Thanks,
Massimiliano


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Am Montag, 7. November 2011, 13:47:49 schrieb Massimiliano Ziccardi:
> > you have those link-local entries in your routes (169.254.0.0/16), Try
> > adding
> > NOZEROCONF= yes to /etc/sysconfig/network
> 
> Already tried, but no luck...

could you post  the output of
ip route
with zeroconf disabled?

> Thanks,
> Massimiliano

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
> you have those link-local entries in your routes (169.254.0.0/16), Try
> adding
> NOZEROCONF= yes to /etc/sysconfig/network


Already tried, but no luck...

Thanks,
Massimiliano


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
Hi All.

>The routes and ifconfig seems correct to me.

>How is the router configured?
>I specifically mean, does it have any firewall configurations redirecting
>SSH-traffic to your machine?

I don't have access to the routers, however they are used for many other
servers too.
Moreover, I tried the ssh command because I wanted to be sure I was pinging
the right servers (for some reason they can't ping me!) and I discovered
that I was pinging myself.

Moreover I'm trying to ping/ssh on servers that are on the same lan and the
network technician (?!) assured me there is no firewall between my server
and, for example, 195.75.145.33.

Another strange thing I noticed is that :

   1. 195.75.146.104 (that passes through a firewall!!) is able to ping my
   server
   2. 195.75.145.33 (that is on the same net without firewall) is not able
   to ping my server

I have the dubt something strange happens in the routers/switch, etc.
However, since I have that strange behaviour on my machine (ping itself,
etc.), thay says my server is bad configured.

Moreover, 195.75.145.33 is able to ping many other servers on the same net
but mine.

Don't know what else to do...

Regards,
Massimiliano


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-07 Thread Dale

Mark Knecht wrote:

On Sun, Nov 6, 2011 at 7:06 AM, Dale  wrote:


IF by the 'first screen' you mean what you see when booting up then it
may or may not be a problem. I suspect your BIOS settings got
scrambled a bit. With my Asus MB there is an option to tell it to show
the drives on the first screen or not. If BIOS gets set back to
default then I don't see them. I then go in, set the option, and then
I do see them.




By first screen, I mean the first screen that the BIOS pops up when booting.
  You know, shows CPU, memory, drives and tells you to hit DEL to enter the
BIOS config.  The second screen is the one that pops up right after the
BIOS.  It is actually the SATA AHCI controller according to what it says.
  It only shows up when AHCI is enabled I think.  Grub comes up after that.

On my machine your first screen is configurable. It doesn't show
drives by default but I have a BIOS option which turns it on.

If I fall back to BIOS #2 then I don't see the drives just like you
are reporting. I have fallen back to BIOS #2 a couple of times on
power failure. One problem on 'power supply on the bottom' chassis is
it puts the power cable right near my feet and I've kicked the cable
out of the box twice in the last 18 months. My UPS won't protect me
from such stupidity! ;-)

Good luck getting to the root cause.

Cheers,
Mark




I looked for such a option but I can't find it anywhere.  It may be 
there but I can't find it.  Since it is working and the AHCI controller 
sees the drives, I'm going to leave well enough alone.


I also rebooted to the NEW sysrescue stick and cfdisk worked fine.  It 
displayed all the drive partitions and other info just like it should.  
I guess there was something off with cfdisk on the stick.


All this from a raccoon knocking out power.  Pesky critter.

Dale

:-)  :-)



Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Hi,

Am Montag, 7. November 2011, 13:15:53 schrieb Massimiliano Ziccardi:
> I thought it was a routing problem, but as you can see, the routes I sent
> seems to be ok.

you have those link-local entries in your routes (169.254.0.0/16), Try adding 
NOZEROCONF= yes to /etc/sysconfig/network

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread J. Roeleveld
On Mon, November 7, 2011 1:15 pm, Massimiliano Ziccardi wrote:
> What about the documentation?
>> I have noticed that most binary distros require the use of their
>> graphical
>> admin tools to make any changes to the configuration.
>
>
> I read the documentation and tried to carefully follow it. Now I'm getting
> this strange behaviour and don't know what's happening.
> I tried both editing the config files and using the network config tool,
> but with no luck.
>
> I thought it was a routing problem, but as you can see, the routes I sent
> seems to be ok.

The routes and ifconfig seems correct to me.

How is the router configured?
I specifically mean, does it have any firewall configurations redirecting
SSH-traffic to your machine?

--
Joost




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
>
> Please do NOT top-post


Sorry.

If asking questions on how to do things on non-Gentoo installations,
> please always mention the distribution in your email.


Ok, sorry again!

What about the documentation?
> I have noticed that most binary distros require the use of their graphical
> admin tools to make any changes to the configuration.


I read the documentation and tried to carefully follow it. Now I'm getting
this strange behaviour and don't know what's happening.
I tried both editing the config files and using the network config tool,
but with no luck.

I thought it was a routing problem, but as you can see, the routes I sent
seems to be ok.

However, I'm not a networking guru, so I don't know what to look else.
Maybe the arp tables?

Here is the arptables -L output:

Chain IN (policy ACCEPT)
target source-ipdestination-ip   source-hw
 destination-hw hlen   op hrdpro

Chain OUT (policy ACCEPT)
target source-ipdestination-ip   source-hw
 destination-hw hlen   op hrdpro

Chain FORWARD (policy ACCEPT)
target source-ipdestination-ip   source-hw
 destination-hw hlen   op hrdpro


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread J. Roeleveld
Please do NOT top-post.

On Mon, November 7, 2011 12:34 pm, Massimiliano Ziccardi wrote:
> You are totally right: I'm not using gentoo, but I'm serching for help and
> gentoo's mailing list is the most technical one: I'm truly sorry for the
> OT.

If asking questions on how to do things on non-Gentoo installations,
please always mention the distribution in your email.
>
> Just some hint about what could be wrong or some command to launch to
> understand what's wrong would be great: I'm getting crazy!!
>
> My distribution is CENTOS but couldn't get much help there, so I tried
> here.

What about the documentation?
I have noticed that most binary distros require the use of their graphical
admin tools to make any changes to the configuration.

--
Joost




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
Already done.
I asked here because I hoped someone would be able to give me some hint
about why with the routes I sent in the previous e-mail pinging the default
gateway it
pings itself (I verified that pinging every server with address
195.75.145.xxx pings the server itself as if it was a loopback address).

Thanks,
Massimiliano

On Mon, Nov 7, 2011 at 12:52, Michael Schreckenbauer  wrote:

> Hi,
>
> Am Montag, 7. November 2011, 12:13:58 schrieb Massimiliano Ziccardi:
> > Hi All.
> >
> > This problem is not strictly related to gentoo, however I'm sure someone
> > here will be able to help me in some way: sorry if I bother you!
>
> have a look at:
> http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-
> static-routes.html
>
> Best,
> Michael
>
>
>


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Michael Schreckenbauer
Hi,

Am Montag, 7. November 2011, 12:13:58 schrieb Massimiliano Ziccardi:
> Hi All.
> 
> This problem is not strictly related to gentoo, however I'm sure someone
> here will be able to help me in some way: sorry if I bother you!

have a look at:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-
static-routes.html

Best,
Michael




Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Jonas de Buhr

Am 07/11/2011 12:13, schrieb Massimiliano Ziccardi:

Hi All.

[SNIP]

Please!! Do you have any advice?


yes. read and follow the manuals provided by your distribution (your 
description doesn't sound gentoo-ish, but EVERY distro should have this 
in their documentation).




Thanks,
Massimiliano






Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
You are totally right: I'm not using gentoo, but I'm serching for help and
gentoo's mailing list is the most technical one: I'm truly sorry for the OT.

Just some hint about what could be wrong or some command to launch to
understand what's wrong would be great: I'm getting crazy!!

My distribution is CENTOS but couldn't get much help there, so I tried here.

Thanks a lot!

Massimiliano

On Mon, Nov 7, 2011 at 12:24, J. Roeleveld  wrote:

> On Mon, November 7, 2011 12:13 pm, Massimiliano Ziccardi wrote:
> > Hi All.
> >
> > This problem is not strictly related to gentoo, however I'm sure someone
> > here will be able to help me in some way: sorry if I bother you!
> >
> > I'm having a really strange problem: for some reason, everytime I reboot
> > my
> > server, the default gateway gets attached to the 'lo' interface, even if
> I
> > correctly attached it to the eth0 device.
> >
> > I fixed the problem editing the /etc/sysconfig/network file and adding
> >
> > GATEWAY=195.75.145.1
> > GATEWAYDEV=eth0
> >
> > however I'm not sure this is the solution: I already configured the
> > default
> > gateway only in the ifcfg-eth0 file!
>
> Which Linux distribution are you using?
> Gentoo does not use those files.
>
> Try editing the /etc/conf.d/net file to match your network settings.
>
> --
> Joost
>
>
>


Re: [gentoo-user] Network problem with linux server

2011-11-07 Thread J. Roeleveld
On Mon, November 7, 2011 12:13 pm, Massimiliano Ziccardi wrote:
> Hi All.
>
> This problem is not strictly related to gentoo, however I'm sure someone
> here will be able to help me in some way: sorry if I bother you!
>
> I'm having a really strange problem: for some reason, everytime I reboot
> my
> server, the default gateway gets attached to the 'lo' interface, even if I
> correctly attached it to the eth0 device.
>
> I fixed the problem editing the /etc/sysconfig/network file and adding
>
> GATEWAY=195.75.145.1
> GATEWAYDEV=eth0
>
> however I'm not sure this is the solution: I already configured the
> default
> gateway only in the ifcfg-eth0 file!

Which Linux distribution are you using?
Gentoo does not use those files.

Try editing the /etc/conf.d/net file to match your network settings.

--
Joost




[gentoo-user] Network problem with linux server

2011-11-07 Thread Massimiliano Ziccardi
Hi All.

This problem is not strictly related to gentoo, however I'm sure someone
here will be able to help me in some way: sorry if I bother you!

I'm having a really strange problem: for some reason, everytime I reboot my
server, the default gateway gets attached to the 'lo' interface, even if I
correctly attached it to the eth0 device.

I fixed the problem editing the /etc/sysconfig/network file and adding

GATEWAY=195.75.145.1
GATEWAYDEV=eth0

however I'm not sure this is the solution: I already configured the default
gateway only in the ifcfg-eth0 file!

After this, I have an even worse problem: doing an ssh 195.75.145.1, I get
an answer from my own server like if it was a loopback address !

Here is the output of ifconfig:

eth0  Link encap:Ethernet  HWaddr 5C:F3:FC:55:63:42
  inet addr:195.75.145.122  Bcast:195.75.145.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:4281 errors:0 dropped:0 overruns:0 frame:0
  TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:4934949 (4.7 MiB)  TX bytes:2133 (2.0 KiB)
  Interrupt:28 Memory:9200-92012800

eth2  Link encap:Ethernet  HWaddr 00:1B:21:8E:0A:86
  inet addr:192.168.19.95  Bcast:192.168.19.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:2049 errors:0 dropped:0 overruns:0 frame:0
  TX packets:917 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:236160 (230.6 KiB)  TX bytes:99635 (97.2 KiB)
  Memory:97d8-97e0

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:56 errors:0 dropped:0 overruns:0 frame:0
  TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:7714 (7.5 KiB)  TX bytes:7714 (7.5 KiB)

lo:0  Link encap:Local Loopback
  inet addr:195.75.145.120  Mask:255.255.255.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1

here is the output of ip route

192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
169.254.0.0/16 dev eth0  scope link  metric 1002
169.254.0.0/16 dev eth2  scope link  metric 1004
default via 195.75.145.1 dev eth0

Please!! Do you have any advice?

Thanks,
Massimiliano


Re:Re: [gentoo-user] Re: Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender





>:) 这家伙比较忙, 用到新内核上可能需要费点功夫。我是个闲人,我修改过补丁
>会及时跟进最新的内核的。 ^_^
>
>repo.or.cz/w/linux-2.6/cjktty.git
>
Er , I'm not very clear about what you said. These stuffs in the webpage
that you gave, which should be picked and how to use ?

Re:[gentoo-user] Re: Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender
Where can I get it ? I think it might have a English name cause I
didn't find it when I used name "飞天豹补丁" :-)
Also how to use it ? Directly install or build into kernel ?



在 2011-11-07 15:37:41,"Blackdream W"  写道:


We called "飞天豹补丁”


Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-07 Thread J. Roeleveld
On Sun, November 6, 2011 6:49 pm, Volker Armin Hemmann wrote:
> Am Samstag 05 November 2011, 20:45:15 schrieb Joost Roeleveld:
>
>> Virtualbox has decent USB-pass-through support. Even quite high
>> performance.
>> >Thanks for your help. I do appreciate it
>
> virtualbox is also pretty broken at the moment.

Broken in what way?
I am happily using it without any issues.

--
Joost




Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-07 Thread Neil Bothwick
On Mon, 7 Nov 2011 12:00:39 +1100, Adam Carter wrote:

> > All it does it copy the kernel, system map and config to /boot and
> > reset the symlinks to point to the new and previous kernels. You can
> > still keep as many kernels as you want in /boot, but you can always
> > boot the last two without modifying GRUB's config.
> 
> Can you please ls -l /boot so i can see what it sets up? I'm still
> doing all that manually...
> 

% ls -lh /boot
total 373M
lrwxrwxrwx 1 root root 1 Jul 22  2008 boot -> .
lrwxrwxrwx 1 root root22 Nov  3 20:00 config -> config-3.1.0-gentoo-11
-rw-r--r-- 1 root root   78K Oct 19 09:30 config-3.0.7-gentoo
-rw-r--r-- 1 root root   79K Nov  2 16:47 config-3.1.0-gentoo-10
-rw-r--r-- 1 root root   79K Nov  3 19:58 config-3.1.0-gentoo-11
lrwxrwxrwx 1 root root22 Nov  3 20:00 config.old -> config-3.1.0-gentoo-10
drwxr-xr-x 3 root root  4.0K Nov  6 21:23 grub2
lrwxrwxrwx 1 root root26 Nov  3 20:00 System.map -> 
System.map-3.1.0-gentoo-11
-rw-r--r-- 1 root root  1.6M Oct 19 09:30 System.map-3.0.7-gentoo
-rw-r--r-- 1 root root  1.6M Nov  2 16:47 System.map-3.1.0-gentoo-10
-rw-r--r-- 1 root root  1.6M Nov  3 19:58 System.map-3.1.0-gentoo-11
lrwxrwxrwx 1 root root26 Nov  3 20:00 System.map.old -> 
System.map-3.1.0-gentoo-10
lrwxrwxrwx 1 root root23 Oct 19 21:58 System.map.safe -> 
System.map-3.0.7-gentoo
-rw-r--r-- 1 nelz users 350M Nov  3 00:17 systemrescuecd-x86-2.4.0.iso
lrwxrwxrwx 1 root root23 Nov  3 20:00 vmlinuz -> vmlinuz-3.1.0-gentoo-11
-rw-r--r-- 1 root root  2.8M Oct 19 09:30 vmlinuz-3.0.7-gentoo
-rw-r--r-- 1 root root  2.9M Nov  2 16:47 vmlinuz-3.1.0-gentoo-10
-rw-r--r-- 1 root root  2.9M Nov  3 19:58 vmlinuz-3.1.0-gentoo-11
lrwxrwxrwx 1 root root23 Nov  3 20:00 vmlinuz.old -> vmlinuz-3.1.0-gentoo-10

I think you need debianutils installed to create the symlinks. Grub
doesn't need to be touched because the menu points to the symlinks rather
than specific kernels although I'm using Grub2 on this box, so specific
versions are added to the end of the menu by grub2-mkconfig.


-- 
Neil Bothwick

I distinctly remember forgetting that.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread microcai
On 2011年11月07日 15:37, Blackdream W wrote:
> We called "飞天豹补丁”

:) 这家伙比较忙, 用到新内核上可能需要费点功夫。我是个闲人,我修改过补丁
会及时跟进最新的内核的。 ^_^

repo.or.cz/w/linux-2.6/cjktty.git


> 
> 在 2011年11月7日 下午2:27,Lavender 写道:
> 
>> 在 2011-11-07 13:10:16,microcai  写道:
>>
>>>
>>> show 可以,有内核级别的中文补丁。
>>>
>>> 要 write 的话可以使用 zhcon 或者 fbterm 配合 ibus-fbterm
>>>
>> 其实我只要show就可以了,补丁叫啥名字,是不是直接安装就行了?
>> PS:原来这里还有Chinese啊,平时都不见冒泡。
>>
>>
>>
> 
> 




signature.asc
Description: OpenPGP digital signature