[gentoo-user] Korganizer Connection problem

2006-07-28 Thread Leigh Stewart

Anyone have any idea why korganizer/konqueror hangs when I try to
connect to a webdav folder, suing either http:// or webdav:// even
though firefox has no problem connecting?  I'm getting 401 and 405
errors in the server logs (but not as a response in the apps), but
neither app is asking me for any user info.  and why the hell wouldnt
these apps display the htttp response code.

any ideas??
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: java comm ports issue

2006-05-07 Thread Leigh Stewart

I solved the problem by installing the latest stable binaries directly
from rxtx.org.  To anyone  having trouble with this, I would recommend
you do the same.  Maybe someone could update the ebuild to the most
recent version...

On 5/4/06, Leigh Stewart [EMAIL PROTECTED] wrote:

Using rxtx, i cant get past square one on my current system.  Ive been
trying on and off for the last few months to get some onewire devices
working with my system but havent had any luck.  So in the process of
troubleshooting, I built and ran this fairly simple program:

http://www.java2s.com/ExampleCode/Development-Class/OpenaserialportusingJavaCommunications.htm

As soon as I try to open any port, a native exception is thrown, which
is a flippin pain.

I am in uucp, and to be sure I have applied liberal permissions to the
serial devices in dev and the contents of /var/lock (and /var/lock
itself).  ie

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ ls -al /dev/ttyS{0,1}
crwxrwxr-x  1 root tty 4, 64 Feb 23 09:56 /dev/ttyS0
crwxrwxr-x  1 root tty 4, 65 Feb 23 09:56 /dev/ttyS1

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ id
uid=1000(lstewart) gid=442(media),
groups=5(tty),7(lp),10(wheel),11(floppy),12(mail),14(uucp),16(cron),18(audio),19(cdrom),20(dialout),21(ftp),27(video),35(games),80(cdrw),81(apache),100(users),245(slocate),442(media),446(plugdev),449(camera)

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ ls -al /var/lock/
total 5
drwxrwxr-x   2 root uucp  104 May  4 17:23 .
drwxr-xr-x  19 root root  552 Apr 20 23:29 ..
-rwxrwxr-x   1 root root0 Mar 27 22:18 .keep
-r--r--r--   1 lstewart media  11 May  4 17:23 LCK..ttyS0

The answer MUST be simple...this is such a basic task and Linux has
such a long history in interfacing with serial devices  i mean
RS-232!! I know im missing something very simple.anyone???



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: partition resizing question

2006-05-05 Thread Leigh Stewart

Ok so i cant move swap into the 10Gbs i set aside for microstink at
the end of the disk, so to move my root linux partition forward,
should I be able to tar the entire filesystem from a livecd for
example, then delete and recreate the partitions as needed, then untar
the tarred filesystem into the new relocated partition?  im concerned
that some data, configuration etc may depend on or expect to be locate
at a certain physical location on disk...

On 5/4/06, Peter [EMAIL PROTECTED] wrote:

On Thu, 04 May 2006 16:58:13 -0400, Leigh Stewart wrote:

 I recently decided to resize my reiserfs root partition, used
 resize_reiserfs to shrink the filesystem, then used cfdisk to resize the
 device.  Everything went according to plan, although it was a somewhat
 unnerving experience because in order to resize using cfdisk u have to
 delete then recreate the partition, which wasn't clearly documented
 anywhere... Anyway, now Ive got a problem because my disk at the moment
 has 3 primary partitions, 1 boot part., 1 swap part, and one root part.
 for gentoo.

 the problem is i cant create a new primary partition which i need to do
 if i want to install windows beside gentoo, which i also need to do.

You can have 4 primary partitions. That is not a problem. Unless the last
partition begins after the 1024 cylinder boundary. In which case M$ will
not be happy.

 does anyone know if it would be possible to replace my boot and swap
 partitions with identically sized logical partitions inside a single
 primary partition? has anyone attempted this? it occurs to me that that
 would be the simplest solution...

Setting up an extended partition scheme would work fine. However, using
cfdisk, you cannot make the conversion without losing data. Because of
reiser, even a program like Partition Magic (the best for this sort of
manipulation) can't work.

Given your current setup, here's what I would do. Move swap to the last
partition, Linux to 3, M$ to 2, and leave boot. If you use grub, you can
program it to boot M$ easily.

 anyone have any other ideas?

 Yes. Backup. Then Backup. Then Backup again!
--
Peter


--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: partition resizing question

2006-05-05 Thread Leigh Stewart

i found an even better solution...

credit goes to:

http://gentoo-wiki.com/HOWTO_Install_Windows_after_Gentoo#Installing_Windows

(gentoo really shines in the support department)

turns out that although windows will not create a new partition at the
end of the disk, it has no problem installing to an existing partition
at the end of the disk.  i went in with my live cd, created the
partition, and then asked ntldr or w/e to install windows there and it
worked just fine.

thanks for the helpful comments :)

On 5/5/06, Leigh Stewart [EMAIL PROTECTED] wrote:

Ok so i cant move swap into the 10Gbs i set aside for microstink at
the end of the disk, so to move my root linux partition forward,
should I be able to tar the entire filesystem from a livecd for
example, then delete and recreate the partitions as needed, then untar
the tarred filesystem into the new relocated partition?  im concerned
that some data, configuration etc may depend on or expect to be locate
at a certain physical location on disk...

On 5/4/06, Peter [EMAIL PROTECTED] wrote:
 On Thu, 04 May 2006 16:58:13 -0400, Leigh Stewart wrote:

  I recently decided to resize my reiserfs root partition, used
  resize_reiserfs to shrink the filesystem, then used cfdisk to resize the
  device.  Everything went according to plan, although it was a somewhat
  unnerving experience because in order to resize using cfdisk u have to
  delete then recreate the partition, which wasn't clearly documented
  anywhere... Anyway, now Ive got a problem because my disk at the moment
  has 3 primary partitions, 1 boot part., 1 swap part, and one root part.
  for gentoo.
 
  the problem is i cant create a new primary partition which i need to do
  if i want to install windows beside gentoo, which i also need to do.
 
 You can have 4 primary partitions. That is not a problem. Unless the last
 partition begins after the 1024 cylinder boundary. In which case M$ will
 not be happy.

  does anyone know if it would be possible to replace my boot and swap
  partitions with identically sized logical partitions inside a single
  primary partition? has anyone attempted this? it occurs to me that that
  would be the simplest solution...
 
 Setting up an extended partition scheme would work fine. However, using
 cfdisk, you cannot make the conversion without losing data. Because of
 reiser, even a program like Partition Magic (the best for this sort of
 manipulation) can't work.

 Given your current setup, here's what I would do. Move swap to the last
 partition, Linux to 3, M$ to 2, and leave boot. If you use grub, you can
 program it to boot M$ easily.

  anyone have any other ideas?
 
  Yes. Backup. Then Backup. Then Backup again!
 --
 Peter


 --
 gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list



[gentoo-user] debugging runscript

2006-05-04 Thread Leigh Stewart

can anyone tell me how to trace through init scripts, which are
executed by /sbin/runscript?

with bash there is a nice little switch which does just that.  i need
to figure out exactly what those net.ethx scripts are doing because
they clobber my wifi interface when i use the LinuxAnt driverloader
module.

thx in advance :)

--
gentoo-user@gentoo.org mailing list



[gentoo-user] java comm ports issue

2006-05-04 Thread Leigh Stewart

Using rxtx, i cant get past square one on my current system.  Ive been
trying on and off for the last few months to get some onewire devices
working with my system but havent had any luck.  So in the process of
troubleshooting, I built and ran this fairly simple program:

http://www.java2s.com/ExampleCode/Development-Class/OpenaserialportusingJavaCommunications.htm

As soon as I try to open any port, a native exception is thrown, which
is a flippin pain.

I am in uucp, and to be sure I have applied liberal permissions to the
serial devices in dev and the contents of /var/lock (and /var/lock
itself).  ie

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ ls -al /dev/ttyS{0,1}
crwxrwxr-x  1 root tty 4, 64 Feb 23 09:56 /dev/ttyS0
crwxrwxr-x  1 root tty 4, 65 Feb 23 09:56 /dev/ttyS1

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ id
uid=1000(lstewart) gid=442(media),
groups=5(tty),7(lp),10(wheel),11(floppy),12(mail),14(uucp),16(cron),18(audio),19(cdrom),20(dialout),21(ftp),27(video),35(games),80(cdrw),81(apache),100(users),245(slocate),442(media),446(plugdev),449(camera)

[EMAIL PROTECTED] ~/Desktop/javaxcomm $ ls -al /var/lock/
total 5
drwxrwxr-x   2 root uucp  104 May  4 17:23 .
drwxr-xr-x  19 root root  552 Apr 20 23:29 ..
-rwxrwxr-x   1 root root0 Mar 27 22:18 .keep
-r--r--r--   1 lstewart media  11 May  4 17:23 LCK..ttyS0

The answer MUST be simple...this is such a basic task and Linux has
such a long history in interfacing with serial devices  i mean
RS-232!! I know im missing something very simple.anyone???

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Init Scripts, net, and LinuxAnt DriverLoader

2006-04-30 Thread Leigh Stewart
Hi All,
I'm having a bit of trouble trying to get the Gentoo net init scripts
to play nice with the linuxant driverloader ndiswrapper. 

First, yes I have tried (read: struggled) with ndiswrapper a fair bit
with no luck...I can only get my card to connect to an unencrypted
channel with ndiswrapper, and am not able to set any parameters,
including the encryption key. driverloader works however, for the most part... 

So anyway here are some specs first:
card: Linksys WPC54G v4
driver: wlipnds
relevant lspci line: 03:00.0 Ethernet controller: Linksys, A Division
of Cisco Systems [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev
01)
driverloader version: 2.33

now my problem is that when I try to start the interface created by the
installed driverloader module using /etc/init.d/eth1... , it fails
miserably. by fails miserably i mean it is unable to connect to
my 



[gentoo-user] Re: Init Scripts, net, and LinuxAnt DriverLoader

2006-04-30 Thread Leigh Stewart
sorry, i accidentally sent that prematurely. 

as i was saying, the init scripts fail to set the encryption key and
connect to my network. using iwconfig otoh i am able to set the
essid, enc key and etc and connect to the AP of choice.

worse, after running the init script the card becomes completely
unable to connect--using iwconfig methods after using the init scripts
has no effect, and even unloading the module , reloading it, and
retsarting the driverloader init scripts does not remedy the situation.

my question is can anyone tell me what the init scripts are doing
in addition to what i would like them to do (execute the commands in
/etc/conf.d/wireless) that may be clobbering my driver/card? any idea
why the same commands work just fine usinmg iwconfig??

thanks in advance On 4/30/06, Leigh Stewart [EMAIL PROTECTED] wrote:
Hi All,
I'm having a bit of trouble trying to get the Gentoo net init scripts
to play nice with the linuxant driverloader ndiswrapper. 

First, yes I have tried (read: struggled) with ndiswrapper a fair bit
with no luck...I can only get my card to connect to an unencrypted
channel with ndiswrapper, and am not able to set any parameters,
including the encryption key. driverloader works however, for the most part... 

So anyway here are some specs first:
card: Linksys WPC54G v4
driver: wlipnds
relevant lspci line: 03:00.0 Ethernet controller: Linksys, A Division
of Cisco Systems [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev
01)
driverloader version: 2.33

now my problem is that when I try to start the interface created by the
installed driverloader module using /etc/init.d/eth1... , it fails
miserably. by fails miserably i mean it is unable to connect to
my 





Re: [gentoo-user] gcc question

2006-04-03 Thread Leigh Stewart
yeah no what im really asking is am i going to run into problems if i
'upgrade' to gcc3.4 and do not, as recommended in the notes that are
displayed after emerging gcc3.4, recompile all my c++ packages with
gcc3.4.

is the version of libstdc++.so which is linked to determined by the
compiler currently in use as determined by gcc-config? is it not
possible to have different programs run against different versions of
c++ shared libraries?On 4/3/06, Neil Bothwick [EMAIL PROTECTED] wrote:
On Sun, 2 Apr 2006 21:00:39 -0700, Lord Sauron wrote: From what I read, if you have half a package using gcc3.3 and the other half 3.4 or something, that won't work.If that were true, how would the system function while recompiling the
other half of the packages?There may be some issues with running a mixed system, but nothing soserious as it won't work.--Neil BothwickCrash: (v.) to terminate a program in the usual fashion, 
i.e. by lockingup the computer or setting fire to the printer. (n.) the process of suchtermination.


Re: [gentoo-user] gcc question

2006-04-03 Thread Leigh Stewart
skype seems to be linked to libstdc++.so.6. (its a binary) would
it hurt to switch to gcc3.4 just to compile libstdc++.so.6 so that
skype has something to link to, and then switch back? On 4/3/06, Graham Murray [EMAIL PROTECTED] wrote:
Richard Fish [EMAIL PROTECTED]
 writes: The problem is the libstdc++ library.If you don't at least do the revdep-rebuild, you could end up with some things that are linked against both libstdc++.so.6 and libstdc++.so.5, and they will crash
 miserably.On a system with gcc = 3.4, opera is linked against bothlibstdc++.so.5 (from the distributed binary) and libstdc++.so.6 (fromnatively compiled libraries) but this does not seem to prevent it from
running.--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] gcc question

2006-04-03 Thread Leigh Stewart
no, thanks you've been a great help :)

--another happy gentoo userOn 4/3/06, Richard Fish [EMAIL PROTECTED] wrote:
On 4/3/06, Leigh Stewart [EMAIL PROTECTED] wrote: skype seems to be linked to libstdc++.so.6.(its a binary) would it hurt to switch to gcc3.4 just to compile libstdc++.so.6 so that skype has something
 to link to, and then switch back?You can definitely do this.You can install gcc 3.4 which will giveyou a libstdc++.so.6 library, and then set the system compiler back to3.3 with gcc-config.So you will continue to use 
3.3 for building allsystem updates, but you will have 3.4 installed as well.Sorry if my original reply didn't make this clear.-Richard--gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] gcc question

2006-04-02 Thread Leigh Stewart
thanks richard.

is it safe to have compiled half a system with gcc 3.3 ubt to be compiling new packages with 3.4?On 4/2/06, Richard Fish 
[EMAIL PROTECTED] wrote:On 4/1/06, Leigh Stewart 
[EMAIL PROTECTED] wrote: I just tried to install skype, it wont start, and in the logs it tells me it cant find libstdc++.so.6, which doesnt surprise me because it doesnt exist on my system.
im using gcc 3.3.5 and im guessing that libstdc++.so.6 is libstdc++.so compiled with gcc 3.4.5.how can i solve this problem? i dont have time to rebuild my system right now.can i slot the compiler or something?
The compiler is slotted, so you can just do emerge --oneshot=sys-devel/gcc-3.4.5-r1 and then use gcc-config to set your compilerback to the 3.3.5 version.-Richard--
gentoo-user@gentoo.org mailing list


[gentoo-user] portage logging configuration

2006-04-02 Thread Leigh Stewart
could someone tell me where i can configure logging for portage? i.e. i
would like emerge.log to be longer, and i would rather portage logging
was all placed under a directory in /var/log

thanks


[gentoo-user] gcc question

2006-04-01 Thread Leigh Stewart
I just tried to install skype, it wont start, and in the logs it tells
me it cant find libstdc++.so.6, which doesnt surprise me because it
doesnt exist on my system. 

im using gcc 3.3.5 and im guessing that libstdc++.so.6 is libstdc++.so compiled with gcc 3.4.5. 

how can i solve this problem? i dont have time to rebuild my system right now. can i slot the compiler or something?