Re: PPP problems

2003-06-06 Thread Ben Reser
On Fri, Jun 06, 2003 at 08:45:04PM -0400, Stew Benedict wrote:
> 
> On Fri, 6 Jun 2003, Jakob Malm wrote:
> 
> > I'm having a very difficult time getting my modem ppp connection working. I'
> > m running Mandrake Linux 9.1 on an iMac 400 DV. At one time I did have it 
> > somewhat working using gnome-ppp, having written my own log on script, but 
> > after reinstalling Linux (for various reasons) I can't even get that to work.
> >   I would like to be able to use Kppp, because it worked nice for me on Yellowdog 
> > Linux, and I have installed kde-network-kppp and also wvdial.
> > 
> > The way that the problem shows up is, using:
> > 
> > -kppp:  Modem not responding, when trying to dial out
> 
> For kppp, play with the pre/post init delays.  Something around 50ms or so 
> has worked in the past.

I have 50 for pre-init, 80 for post-init.  The former doesn't seem to
matter much.  The later is the one I had to play with...

> > -gnome-ppp: pppd breaks down unexpectedly
> > -wvdial:the modem deosn't answer to the ATZ command
> > 
> 
> Haven't used these on PPC myself. Anyone?

gnome-ppp doesn't have anyway to adjust the delay so it doesn't work.
Never even looked at wvdial...

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

"What upsets me is not that you lied to me, but that from now on I can
no longer believe you." -- Nietzsche



Re: PPP problems

2003-06-06 Thread Stew Benedict

On Fri, 6 Jun 2003, Jakob Malm wrote:

> I'm having a very difficult time getting my modem ppp connection working. I'
> m running Mandrake Linux 9.1 on an iMac 400 DV. At one time I did have it 
> somewhat working using gnome-ppp, having written my own log on script, but 
> after reinstalling Linux (for various reasons) I can't even get that to work.
>   I would like to be able to use Kppp, because it worked nice for me on Yellowdog 
> Linux, and I have installed kde-network-kppp and also wvdial.
> 
> The way that the problem shows up is, using:
> 
> -kppp:Modem not responding, when trying to dial out

For kppp, play with the pre/post init delays.  Something around 50ms or so 
has worked in the past.

> -gnome-ppp:   pppd breaks down unexpectedly
> -wvdial:  the modem deosn't answer to the ATZ command
> 

Haven't used these on PPC myself. Anyone?


-- 
Stew Benedict

--
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.freenode.net #cooker-ppc
Archives: http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&r=1&w=2




PPP problems

2003-06-06 Thread Jakob Malm
I'm having a very difficult time getting my modem ppp connection working. I'
m running Mandrake Linux 9.1 on an iMac 400 DV. At one time I did have it 
somewhat working using gnome-ppp, having written my own log on script, but 
after reinstalling Linux (for various reasons) I can't even get that to work.
 I would like to be able to use Kppp, because it worked nice for me on Yellowdog 
Linux, and I have installed kde-network-kppp and also wvdial.

The way that the problem shows up is, using:

-kppp:  Modem not responding, when trying to dial out
-gnome-ppp: pppd breaks down unexpectedly
-wvdial:the modem deosn't answer to the ATZ command
I would appreciate any help, as I have spent several hours on this and would 
like to be able to use Mandrake Linux.

/Jakob




Re: how to mount, recognize cd burner???

2003-06-06 Thread [EMAIL PROTECTED]
Antonio Netzer wrote:

here is the entry for my firewire card in /etc/sysconfig/hwconf

-
class: FIREWIRE
bus: PCI
detached: 0
driver: ohci1394
desc: "Lucent Microelectronics|FW323"
vendorId: 11c1
deviceId: 5811
subVendorId: 11c1
subDeviceId: 5811
pciType: 1
I have a Que! Fire 16x10x40x cwr burner, how can I mount this device in 
linux??

my /etc/fstab file reads

/dev/hde10  / 
/dev/hde9   swap ...
none/proc   procdefaults 0 0
none/proc/bus/usb   usbdevfsdefaults 0 0
none/dev/shmtmpfs   defaults 0 0
none/dev/ptsdevpts  gid=5, mode=620 0 0
/dev/cdrom  /mnt/cdrom  iso9660 noauto,owner,kudzu,ro 0 0
/dev/hde6   /mnt/macos  hfs noauto,rw   0 0
/dev/hde7   /mnt/macosX hfs defaults0 0
thanks
 

Antonio,

Probably there is a nicer way to do this, but when playing with new 
devices, I log in as root, and then do a tail -f /var/log/messages Once 
I have that running, I plug in the device, and see what it gets 
registered as (this is how I found out that my USB CF Reader is /dev/sda1).

I hope this  helps,

Craig...





Re: how to mount, recognize cd burner???

2003-06-06 Thread Olivier Thauvin
Le Vendredi 06 Juin 2003 19:39, Antonio Netzer a écrit :
> here is the entry for my firewire card in /etc/sysconfig/hwconf
>
> -
> class: FIREWIRE
> bus: PCI
> detached: 0
> driver: ohci1394
> desc: "Lucent Microelectronics|FW323"
> vendorId: 11c1
> deviceId: 5811
> subVendorId: 11c1
> subDeviceId: 5811
> pciType: 1
>
> I have a Que! Fire 16x10x40x cwr burner, how can I mount this device in
> linux??
>
> my /etc/fstab file reads
>
> /dev/hde10/ 
> /dev/hde9 swap ...
> none  /proc   procdefaults 0 0
> none  /proc/bus/usb   usbdevfsdefaults 0 0
> none  /dev/shmtmpfs   defaults 0 0
> none  /dev/ptsdevpts  gid=5, mode=620 0 0
> /dev/cdrom/mnt/cdrom  iso9660 noauto,owner,kudzu,ro 0 0
> /dev/hde6 /mnt/macos  hfs noauto,rw   0 0
> /dev/hde7 /mnt/macosX hfs defaults0 0
>

Useally firewire disque are seen like scsi:
modprobe sbp2
and try to mount /dev/scd1

-- 
Linux pour Mac !? Enfin le moyen de transformer
une pomme en véritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/




how to mount, recognize cd burner???

2003-06-06 Thread Antonio Netzer
here is the entry for my firewire card in /etc/sysconfig/hwconf

-
class: FIREWIRE
bus: PCI
detached: 0
driver: ohci1394
desc: "Lucent Microelectronics|FW323"
vendorId: 11c1
deviceId: 5811
subVendorId: 11c1
subDeviceId: 5811
pciType: 1

I have a Que! Fire 16x10x40x cwr burner, how can I mount this device in 
linux??

my /etc/fstab file reads

/dev/hde10  / 
/dev/hde9   swap ...
none/proc   procdefaults 0 0
none/proc/bus/usb   usbdevfsdefaults 0 0
none/dev/shmtmpfs   defaults 0 0
none/dev/ptsdevpts  gid=5, mode=620 0 0
/dev/cdrom  /mnt/cdrom  iso9660 noauto,owner,kudzu,ro 0 0
/dev/hde6   /mnt/macos  hfs noauto,rw   0 0
/dev/hde7   /mnt/macosX hfs defaults0 0

thanks




Re: GWorkspace SRPM

2003-06-06 Thread Stew Benedict


On Thu, 5 Jun 2003, Bertrand wrote:

> I've done a very first SRPM for GWorkspace-0.5.1, the gnustep clone of 
> the NeXT filemanager. I'm not very sure of my specfile and I've still 
> got one problem : it can only compile on PowerPC (so x86 users will 
> come after, this time ;-))) )
> 
> My problem is at the beginning of the spec file :
> 
> %define host_cpu $GNUSTEP_HOST_CPU
> 
> I want to use the GNUSTEP_HOST_CPU environnement variable to list some 
> files at the build stage in the %file section of the spec file :
> 
> %files %gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/findfile
> %gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/fopexec
> %gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/wopen
> 
> 
> Problem : when I build the rpm, this fails with the following :
> 
> RPM build errors:
>  File not found by glob: 
> /var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Library/Libraries/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/libGWorkspace.so*
>  File not found: 
> /var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Tools/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/findfile
>  
> http://perso.wanadoo.fr/bertrand.dekoninck/ File not found: 
> /var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Tools/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/fopexec
>  File not found: 
> /var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Tools/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/wopen
> 
> 
> So I've replace $GNUSTEP_HOST_CPU by it's value on my system : powerpc. 
> Then it builds. But it won't on x86.
> Can someone help me ?
> 
> I've placed a srpm on my web space : 
> http://perso.wanadoo.fr/bertrand.dekoninck/
> You'll need a complete gnustep install to build it.
> Bertrand Dekoninck
> 
> PS : here's the specfile attached


Bertrand.  There is a macro that might do what you want already:

rpm --eval=%_host_cpu
powerpc

-- 
Stew Benedict

--
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.freenode.net #cooker-ppc
Archives: http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&r=1&w=2




GWorkspace SRPM

2003-06-06 Thread Bertrand
I've done a very first SRPM for GWorkspace-0.5.1, the gnustep clone of 
the NeXT filemanager. I'm not very sure of my specfile and I've still 
got one problem : it can only compile on PowerPC (so x86 users will 
come after, this time ;-))) )

My problem is at the beginning of the spec file :

%define host_cpu $GNUSTEP_HOST_CPU

I want to use the GNUSTEP_HOST_CPU environnement variable to list some 
files at the build stage in the %file section of the spec file :

%files %gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/findfile
%gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/fopexec
%gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/wopen
Problem : when I build the rpm, this fails with the following :

RPM build errors:
File not found by glob: 
/var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Library/Libraries/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/libGWorkspace.so*
File not found: 
/var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Tools/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/findfile 
http://perso.wanadoo.fr/bertrand.dekoninck/ File not found: 
/var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Tools/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/fopexec
File not found: 
/var/tmp/GWorkspace-0.5.1/usr/GNUstep/System/Tools/$GNUSTEP_HOST_CPU/linux-gnu/gnu-gnu-gnu/wopen

So I've replace $GNUSTEP_HOST_CPU by it's value on my system : powerpc. 
Then it builds. But it won't on x86.
Can someone help me ?

I've placed a srpm on my web space : 
http://perso.wanadoo.fr/bertrand.dekoninck/
You'll need a complete gnustep install to build it.
Bertrand Dekoninck

PS : here's the specfile attached%define gs_root /usr/GNUstep/System
%define gs_install_dir  /usr/GNUstep/System
%define _wmiconsdir /usr/share/pixmaps
%define rname gworkspace
%define host_cpu powerpc

Name: GWorkspace
Version: 0.5.1
Release: 1mdk

Summary: GNUstep Workspace Manager
License: GPL
Group: Graphical desktop/Window Maker
Source: %rname-%version.tar.gz

BuildPreReq: gnustep-make
BuildPreReq: gnustep-base
BuildPreReq: gnustep-gui
BuildRoot: %{_tmppath}/%{name}-%{version}

%description
GNUstep Workspace Manager

%prep
%setup -q

%build
if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
  . %gnustepdir/Makefiles/GNUstep.sh
fi
./configure
%make

%install
if [ -z "$GNUSTEP_SYSTEM_ROOT" ]; then
  . %gnustepdir/Makefiles/GNUstep.sh
fi

make GWLib  INSTALL_ROOT_DIR=$RPM_BUILD_ROOT \
  GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{gs_install_dir} \
install
make  INSTALL_ROOT_DIR=$RPM_BUILD_ROOT \
  GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{gs_install_dir} \
 install


mkdir -p $RPM_BUILD_ROOT%_menudir
cat < $RPM_BUILD_ROOT%_menudir/%name
?package(%name): needs=wmaker \
command="EXEC openapp %name.app" \
section="Applications/File tools" \
title="GWorkspace"
EOF

mkdir -p %buildroot%_wmiconsdir
%__install -m644 GWorkspace/GWorkspace.app/Resources/FileManager.tiff  
$RPM_BUILD_ROOT%_wmiconsdir

#
# Clean commands
#
%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_menus

%postun
%clean_menus

%files 
%defattr(-,root,root)
%gs_install_dir/Applications/%name.app*
%gs_install_dir/Applications/Backgrounder.app*

%gs_install_dir/Library/Bundles/BrowserViewer.viewer*
%gs_install_dir/Library/Bundles/IconsViewer.viewer*
%gs_install_dir/Library/Bundles/SmallIconsViewer.viewer*

%gs_install_dir/Library/Bundles/AppViewer.inspector*
%gs_install_dir/Library/Bundles/FolderViewer.inspector*
%gs_install_dir/Library/Bundles/ImageViewer.inspector*
%gs_install_dir/Library/Bundles/InspectorViewer.inspector*
%gs_install_dir/Library/Bundles/PdfViewer.inspector*
%gs_install_dir/Library/Bundles/PlistViewer.inspector*
%gs_install_dir/Library/Bundles/RtfViewer.inspector*
%gs_install_dir/Library/Bundles/StringsViewer.inspector*
%gs_install_dir/Library/Bundles/SoundViewer.inspector*
%gs_install_dir/Library/Libraries/%host_cpu/linux-gnu/gnu-gnu-gnu/libGWorkspace.so*
%gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/findfile
%gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/fopexec
%gs_install_dir/Tools/%host_cpu/linux-gnu/gnu-gnu-gnu/wopen

%_menudir/%name
%_wmiconsdir/FileManager.tiff

%changelog
* Thu Jun  5 2003 root <[EMAIL PROTECTED]> 0.5.1-1
- updated this spec file to build GWorkspace-0.5.1 on a MandrakePPC-8.1 (and maybe 
others...)

* Mon Aug 05 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.6-alt3
- Updated buildreqs once again...

* Wed Jul 31 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.6-alt2
- Updated buildreqs

* Tue Jul 16 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.6-alt1
- [0.3.6]

* Sun May 05 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.4-alt3
- Updated BuildRequires

* Sun May 05 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.4-alt2
- Rebuilt with new GNUstep

* Sat Apr 20 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.4-alt1
- [0.3.4]

* Sat Apr 13 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.3-alt1
- [0.3.3]
- Icon added

* Wed Mar 13 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3.1-alt1
- [0.3.1]

* Tue Feb 12 2002 Sir Raorn <[EMAIL PROTECTED]> 0.3-alt1
- [0.3]

* Tue Jan 08 

Re: GWorkspace SRPM

2003-06-06 Thread Olivier Thauvin
Le Vendredi 06 Juin 2003 11:34, Bertrand a écrit :
> $GNUSTEP_HOST_CPU is gnustep specific. If %_target_cpu or %_host_cpu
> returns the same results, I could use them, but is it the case ?
> Here on PPC :
> [EMAIL PROTECTED] tranber]$ rpm --eval %_target_cpu
> ppc
> [EMAIL PROTECTED] tranber]$ rpm --eval %_host_cpu
> powerpc
>
> So it's clearly %_host_cpu to use.

NO !!

package are build as ppc, %configure and % make macros define build for ppc, 
look the perl, gcc path, ect... all those spec refer to %_target_cpu.

And miss a point, %_host_cpu is the the computer, but you can cross compil, 
%_target_cpu is changed for this.

Look to your rpmrc, maybe you'll find why those var differents.

-- 
Linux pour Mac !? Enfin le moyen de transformer
une pomme en véritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/




Re: GWorkspace SRPM

2003-06-06 Thread Stew Benedict

On Fri, 6 Jun 2003, Bertrand wrote:

> $GNUSTEP_HOST_CPU is gnustep specific. If %_target_cpu or %_host_cpu 
> returns the same results, I could use them, but is it the case ?
> Here on PPC :
> [EMAIL PROTECTED] tranber]$ rpm --eval %_target_cpu
> ppc
> [EMAIL PROTECTED] tranber]$ rpm --eval %_host_cpu
> powerpc
> 
> So it's clearly %_host_cpu to use.
> 
> Can someone compare the results on other achitectures ? Thanks,

Olivier posted some sparc output.  On my laptop (AMD Duron), 

%_host_cpu = i686
%_target_cpu = i586

-- 
Stew Benedict

--
MandrakeSoft



Re: GWorkspace SRPM

2003-06-06 Thread Bertrand
$GNUSTEP_HOST_CPU is gnustep specific. If %_target_cpu or %_host_cpu 
returns the same results, I could use them, but is it the case ?
Here on PPC :
[EMAIL PROTECTED] tranber]$ rpm --eval %_target_cpu
ppc
[EMAIL PROTECTED] tranber]$ rpm --eval %_host_cpu
powerpc

So it's clearly %_host_cpu to use.

Can someone compare the results on other achitectures ? Thanks,
Bertrand Dekoninck
> > PS : here's the specfile attached
>
> Bertrand.  There is a macro that might do what you want already:
>
> rpm --eval=%_host_cpu
> powerpc
It is better to use %_target_cpu:
[EMAIL PROTECTED] olivier]$ rpm --eval %_target_cpu
sparc
here on sparc, because on compatible architecture you can get the
wrong value:
on sparc, we build rpm for sparc and sparc64, %_target_cpu is define
to sparc,
but I wonder %_host_cpu is sparc64 on some computer.
Another mistake can appear if you try to cross-compile the rpm, aka
build on a
computer for another arch.
Well after test I get the reverse:
[EMAIL PROTECTED] nanardon]$ rpm --eval %_host_cpu
sparc
[EMAIL PROTECTED] nanardon]$ rpm --eval %_target_cpu
sparc64
Without buildarchtranslate in ~/.rpmrc, strange, strange.

--
Linux pour Mac !? Enfin le moyen de transformer
une pomme en véritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/