Subject: general-digest V2 #97
From: [email-masked] (general-digest)
To: [email-masked]

general-digest       Tuesday, September 28 1999       Volume 02 : Number 097

In this issue:

    Netwinder and Exceed
    Re: Netwinder and Exceed
    Re: Netwinder and Exceed
    KDE 1.1.2
    KDE problems
    Re: KDE 1.1.2
    PPP problems
    Re: PPP problems
    Re: PPP problems
    Re: PPP problems
    finding armv4l RPMs
    Re: finding armv4l RPMs
    Re: PPP problems
    Re: PPP problems
    Time for battle

See the end of this digest for information about general-digest.

----------------------------------------------------------------------

Date: Sat, 18 Sep 1999 13:26:24 -0400
From: "Patrick Drouin" <[email-masked]>
Subject: Netwinder and Exceed

Hello everyone,

 Anyone running Exceed from a Windows PC to connect to the Netwinder? My
problem might not be linked to Exceed itself since I am having problems with
the runlevel 5 anyway.

I'm having problem with id:5:initdefault: in my /etc/inittab file. I do get
the login prompt but I just get back to the prompt whenever I login (either
from the NW itself or Exceed). On the Exceed side, the software just does on
me.

 The box is a DM NW (2.1, build 12) running firmware 2.1.8 and  kernel
2.0.35.

 Any clues?

Regards,
P

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Sun, 19 Sep 1999 13:01:40 -0400
From: Ralph Siemsen <[email-masked]>
Subject: Re: Netwinder and Exceed

I've used Exceed int the past and other than fonts, there were no issues
with it.  Seems the windows fonts don't match well with those used by X,
leading to some oddness in apps such as x3270 for example.  But it's
fixable by editing the font path and/or copying fonts from standard X
distribution.

Your problem is almost certainly not due to Exceed.  As you suggested,
your problems with runlevel 5 should be investigated.  When you try and
login on the NetWinder, obviously the X server is starting and running
xdm.  Thereafter, does a window manager get launched?  If not, check
that the paths are correct etc.

If the window manager is starting, what apps does it try to launch by
default?  Most of the time, some xterms and possibly a clock are being
started.  It could be that xterm is failing (openpty problem) causing
the whole thing to shut down.

Another possibilty is that the DISPLAY environment variable is not
getting set correctly.  Back in the long-gone days of build #7 or so,
there was a hack in the .xclients script to explicity set
DISPLAY=localhost:0, since some apps like xmodmap would otherwise fail. 
Since xdm was not tested much, perhaps it is still a victim of the same
curse.

If all else fails, try starting in runlevel 3, then run "xdm 2>&1 | tee
logfile" and post the results.  Maybe we can spot something in there.

- -Ralph

Patrick Drouin wrote:
> 
> Hello everyone,
> 
>  Anyone running Exceed from a Windows PC to connect to the Netwinder? My
> problem might not be linked to Exceed itself since I am having problems with
> the runlevel 5 anyway.
> 
> I'm having problem with id:5:initdefault: in my /etc/inittab file. I do get
> the login prompt but I just get back to the prompt whenever I login (either
> from the NW itself or Exceed). On the Exceed side, the software just does on
> me.
> 
>  The box is a DM NW (2.1, build 12) running firmware 2.1.8 and  kernel
> 2.0.35.
> 
>  Any clues?
> 
> Regards,
> P

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Sun, 19 Sep 1999 18:44:32 -0400
From: "Patrick Drouin" <[email-masked]>
Subject: Re: Netwinder and Exceed

    Ralph,

 Thanks for sending me on the path to the DISPLAY=localhost:0 thing. I found
it in .xinitrc. I had to uncomment it. This did not explain the weird
behavior of xdm on the NW itself... The main problem was that the .xsession
link was not executable! A simple chmod fixed it.

 Thanks,
P

Ralph Siemsen <[email-masked]> wrote in message
news:[email-masked]...
> I've used Exceed int the past and other than fonts, there were no issues
> with it.  Seems the windows fonts don't match well with those used by X,
> leading to some oddness in apps such as x3270 for example.  But it's
> fixable by editing the font path and/or copying fonts from standard X
> distribution.
>
> Your problem is almost certainly not due to Exceed.  As you suggested,
> your problems with runlevel 5 should be investigated.  When you try and
> login on the NetWinder, obviously the X server is starting and running
> xdm.  Thereafter, does a window manager get launched?  If not, check
> that the paths are correct etc.
>
> If the window manager is starting, what apps does it try to launch by
> default?  Most of the time, some xterms and possibly a clock are being
> started.  It could be that xterm is failing (openpty problem) causing
> the whole thing to shut down.
>
> Another possibilty is that the DISPLAY environment variable is not
> getting set correctly.  Back in the long-gone days of build #7 or so,
> there was a hack in the .xclients script to explicity set
> DISPLAY=localhost:0, since some apps like xmodmap would otherwise fail.
> Since xdm was not tested much, perhaps it is still a victim of the same
> curse.
>
> If all else fails, try starting in runlevel 3, then run "xdm 2>&1 | tee
> logfile" and post the results.  Maybe we can spot something in there.
>
> -Ralph
>
> Patrick Drouin wrote:
> >
> > Hello everyone,
> >
> >  Anyone running Exceed from a Windows PC to connect to the Netwinder? My
> > problem might not be linked to Exceed itself since I am having problems
with
> > the runlevel 5 anyway.
> >
> > I'm having problem with id:5:initdefault: in my /etc/inittab file. I do
get
> > the login prompt but I just get back to the prompt whenever I login
(either
> > from the NW itself or Exceed). On the Exceed side, the software just
does on
> > me.
> >
> >  The box is a DM NW (2.1, build 12) running firmware 2.1.8 and  kernel
> > 2.0.35.
> >
> >  Any clues?
> >
> > Regards,
> > P

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Tue, 21 Sep 1999 11:42:18 -0400
From: [email-masked]
Subject: KDE 1.1.2

Good news. The KDE project release 1.1.2 (last week) compiles and
runs right on the NetWinder out of the box. Sound works now. Very
stable.

Compile takes hours.

Pat

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Tue, 21 Sep 1999 18:36:03 -0400
From: "Patrick Drouin" <[email-masked]>
Subject: KDE problems

Hello everyone,

 I have grabbed a copy of KDE from patb's site and I am having some problems
using it.  Here's a log of what is happening. All other window manager start
fine with the same environment but KDE starts to load and then kills the X
server (Exceed) running on my PC. I also have libqt installed, my
environment is pointing KDEDIR to /opt/kde. I"m running out of ideas and I'd
really like to get rid of fvwm2.

Any clues on how to fix that?
Regards,
Patrick

KBackground::KBackground
KScreenSaver::KScreenSaver
KFonts::KFonts
KGeneral::KGeneral
xrdb:  "*background" on line 23 overrides entry on line 7
xrdb:  "*foreground" on line 24 overrides entry on line 2
inserted keys
read settings
got key dict
KKeyChooser::readGlobalKeys()
Make key chooser standard
Change: Replace
Change: Next
Change: Copy
Change: Undo
Change: Close
Change: Prior
Change: Open
Change: Find
Change: Insert
Change: End
Change: Print
Change: New
Change: Quit
Change: Save
Change: Home
Change: Paste
Change: Cut
Change: Help
read scheme done
KKeyConfig destructor
inserted keys
read settings
got key dict
KKeyChooser::readGlobalKeys()
Make key chooser standard
Change: Replace
Change: Next
Change: Copy
Change: Undo
Change: Close
Change: Prior
Change: Open
Change: Find
Change: Insert
Change: End
Change: Print
Change: New
Change: Quit
Change: Save
Change: Home
Change: Paste
Change: Cut
Change: Help
read scheme done
KKeyConfig destructor
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
...
krootwm: cannot connect to X server 90.0.0.3:0.0
kwmsound: cannot connect to X server 90.0.0.3:0.0
kwm: cannot connect to X server 90.0.0.3:0.0
[pat@bobino pat]$ kpanel: cannot connect to X server 90.0.0.3:0.0
kbgndwm: cannot connect to X server 90.0.0.3:0.0
kfm: cannot connect to X server 90.0.0.3:0.0
kaudioserver: Can't connect to the X Server.
kaudioserver: Audio system might not terminate at end of session.
Starting audio server with talk id 7.
maudio: Cannot open audio device.
kaudioserver: Captured signal 17.
kaudioserver: disconnectChild() with pid 1085
            Return = 0
kaudioserver: Exiting on myExit(1).

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Wed, 22 Sep 1999 10:27:11 -0400
From: Pat Beirne <[email-masked]>
Subject: Re: KDE 1.1.2

This is a multi-part message in MIME format.
- --------------C4978923A3B247DCEC119170
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

In response to some requests, I put my binaries at
ftp://ftp.netwinder.org/users/p/patb/kde-1.1.2.tar.gz
24meg

There is a readme in the tarball, which can be summed
up like this:

- -login as root
- -cd /
- -tar xzf /where_ever/kde-1.1.2.tar.gz
- -login as self
- -add KDEDIR=/usr/local/kde to your .bash_profile or .profile
- -login as self again
- -edit your .Xclients or .xinitrc to use startkde as your window manager

You will need libstdc++-libc6.1-2.so.3 to run these binaries.
There is a copy in my ftp directory if you need it.

If you want sound, you will have to make sure that you
modprobe waveartist
before starting KDE. Also, you will have to use the KDE
control panel to enable sound (it is disabled by default).

Good luck,

Pat

[email-masked] wrote:

> Good news. The KDE project release 1.1.2 (last week) compiles and
> runs right on the NetWinder out of the box. Sound works now. Very
> stable.
>
> Compile takes hours.
>
> Pat

- --------------C4978923A3B247DCEC119170
Content-Type: text/x-vcard; charset=us-ascii;
 name="patb.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Pat Beirne
Content-Disposition: attachment;
 filename="patb.vcf"

begin:vcard 
n:Beirne;Pat
x-mozilla-html:FALSE
url:www.corel.com
org:Corel Corp
adr:;;1600 Carling Ave;Ottawa;ON;K1Z 8R7;
version:2.1
email;internet:[email-masked]
title:Chief Engineer
x-mozilla-cpt:;0
end:vcard

- --------------C4978923A3B247DCEC119170--

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Thu, 23 Sep 1999 13:52:16 -0400
From: [email-masked] (Raul Cuza)
Subject: PPP problems

I've been having difficulty getting a network connection from home using a
modem. I have a NetWinder with 2.0.35 (Dec 1998 build) factory defaults;
i.e. I haven't upgraded anything, mostly cause I'm not on the Internet
yet. :p

My modem is a US-Robotics 56K V.90/x2. I have a it hooked up to the seial
port with a modem cable (RS-232C Radio Shack special); the pins are set to
factory default. 

I've inserted the serial module (using the command 'insmod serial'); when
I do this a light comes on the modem. When sereal is initialized the log
file shows that it is version 4.13, and it is hook uptotty00 & tty01 (irq
4&3, respectively). 

I then do 'insmod slhc' and 'insmod ppp'. I believe that these are all the
modules I need to use pppd. Please correct me if I'm wrong. The log shows
that PPP is version 2.2.0.

I then try to use pppd and chat to dial out. The pppd and chat commands
are as follows:

      /usr/sbin/pppd /dev/cua1 115200 connect $DIALER_SCRIPT

      chat -v                                            \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        CONNECT         ''                              \

In the log I get the following messages from chat:

      send (rAT^M)
      expect (OK)
      alarm
      send (+++)
      expect (OK)
      alarm
      Failed

The modem never dials or makes any noise.

I tried dialing my ISP manually, and then running the ppd command without
the connect part, and it still wouldn't work.

I'm stumped. Do I need to do something with setserial? If yes, where do I
get the command, it isn't on my system.

Any help will be greatly appriated. Thank you in advance. Raul.

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Thu, 23 Sep 1999 14:01:26 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: PPP problems

Raul Cuza wrote:
> I've inserted the serial module (using the command 'insmod serial'); when
> I do this a light comes on the modem. When sereal is initialized the log
> file shows that it is version 4.13, and it is hook uptotty00 & tty01 (irq
> 4&3, respectively).

Err...you mean ttyS0 and ttyS1 don't you?

With 2.035 kernels, I think you want S1, and with 2.2 kernels S0.

> I then do 'insmod slhc' and 'insmod ppp'. I believe that these are all the
> modules I need to use pppd. Please correct me if I'm wrong. The log shows
> that PPP is version 2.2.0.

You should really just do "modprobe ppp" and not insmod stuff.

> I then try to use pppd and chat to dial out. The pppd and chat commands
> are as follows:
> 
>       /usr/sbin/pppd /dev/cua1 115200 connect $DIALER_SCRIPT

Try adding 'modem crtscts' to your pppd command.

- --
Andrew E. Mileski - Software Engineer
Rebel.com  http://www.rebel.com/

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Thu, 23 Sep 1999 15:34:48 -0400
From: [email-masked] (Raul Cuza)
Subject: Re: PPP problems

Thank you for replying. Comments and questions below.

In article <[email-masked]>, "Andrew E. Mileski"
<[email-masked]> wrote:

> Raul Cuza wrote:
> > I've inserted the serial module (using the command 'insmod serial'); when
> > I do this a light comes on the modem. When sereal is initialized the log
> > file shows that it is version 4.13, and it is hook uptotty00 & tty01 (irq
> > 4&3, respectively).
> 
> Err...you mean ttyS0 and ttyS1 don't you?

I may have miss depyt the tty's in my message. I will double check when I
get home tonight. %!-]

> 
> With 2.035 kernels, I think you want S1, and with 2.2 kernels S0.

Do you mean that /dev/modem should point to /dev/ttyS1 instead of
/dev/cua1 as I currently run pppd?

> 
> > I then do 'insmod slhc' and 'insmod ppp'. I believe that these are all the
> > modules I need to use pppd. Please correct me if I'm wrong. The log shows
> > that PPP is version 2.2.0.
> 
> You should really just do "modprobe ppp" and not insmod stuff.

Will this insert the serial module, too?

> 
> > I then try to use pppd and chat to dial out. The pppd and chat commands
> > are as follows:
> > 
> >       /usr/sbin/pppd /dev/cua1 115200 connect $DIALER_SCRIPT
> 
> Try adding 'modem crtscts' to your pppd command.

My /etc/ppp/options file contains the following:

   -detach
   noipdefault
   netmask 255.255.255.0
   modem
   lock
   crtscts
   defaultroute
   debug
   passive 
   asyncmap 0
   name "My_Username"

Is this automatically added to the pppd command?

Thank you again for your help. sincerely, r.

> 
> --
> Andrew E. Mileski - Software Engineer
> Rebel.com  http://www.rebel.com/

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Thu, 23 Sep 1999 16:22:13 -0400
From: Ralph Siemsen <[email-masked]>
Subject: Re: PPP problems

Raul Cuza wrote:
>
> Do you mean that /dev/modem should point to /dev/ttyS1 instead of
> /dev/cua1 as I currently run pppd?

Definately.  /dev/cuaX is depreciated in 2.2, use /dev/ttySx instead.
 
> Will this insert the serial module, too?

No, since the PPP stuff can sit on top of other transports (eg.
ethernet).  You can modify /etc/conf.modules to make it do what you
want, or you can use the kernel autoload support, which is working in
2.2.

- -- 
Ralph Siemsen -- [email-masked]

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: 23 Sep 1999 20:23:38 GMT
From: [email-masked]
Subject: finding armv4l RPMs

You know, it would be real nice to setup an rpmfind database on netwinder.org.

Either that, or get netwinder RPMs mirrored on rufus.w3.org.

Or both.

See http://rufus.w3.org/linux/rpmfind/rpmfind.html

I'm going to send a request to the guy who runs things on rufus to get him to 
mirror netwinder.org.

Chris

- -- 
Chris Garrigues                 virCIO
http://www.DeepEddy.Com/~cwg/	http://www.virCIO.Com
+1 512 432 4046                 +1 512 374 0500
				4314 Avenue C
O-				Austin, TX  78751-3709

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

    Nobody ever got fired for buying Microsoft,
      but they could get fired for relying on Microsoft.

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Thu, 23 Sep 1999 17:08:52 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: finding armv4l RPMs

[email-masked] wrote:
> I'm going to send a request to the guy who runs things on rufus to get him to
> mirror netwinder.org.

There is a reason why I have RPMS in my home directory: some of them
are broken, and all of them are unsupported.

When they are fit for general consumption, they are moved to the /pub area
and can be found from the web page.  These are the only ones that should
be indexed in my opinion.

P.S. My web pages are updated every 4 hours, though they are kinda huge
     http://netwinder.org/~andrewm/redhat/

- --
Andrew E. Mileski - Software Engineer
Rebel.com  http://www.rebel.com/

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Fri, 24 Sep 1999 11:11:39 -0400
From: [email-masked] (Raul Cuza)
Subject: Re: PPP problems

In article <[email-masked]>, "Andrew E. Mileski"
<[email-masked]> wrote:

> Raul Cuza wrote:
> > I've inserted the serial module (using the command 'insmod serial'); when
> > I do this a light comes on the modem. When sereal is initialized the log
> > file shows that it is version 4.13, and it is hook uptotty00 & tty01 (irq
> > 4&3, respectively).
> 
> Err...you mean ttyS0 and ttyS1 don't you?
> 
> With 2.035 kernels, I think you want S1, and with 2.2 kernels S0.
> 

I checked /var/log/messages and after I load the serial module, the
following lines are outputted:

   kernel: Serial driver version 4.13 with no serial options enabled. 
   kernel: tty00 at 0x03f8 (irq 4) is a 16550A
   kernel: tty01 at 0x02f8 (irq 3) is a 16550A

Is this a problem with my kernel (v2.0.35 build Dec 11, 1998)?

The files /dev/ttyS0 and ttyS1 exist. When I use them in the pppd script
they seem to behave the same way as when I use /dev/cua? Also ttyS0 will
cause the CS light to go off on the modem, but ttyS1 does not cause any
noticable affect on the modem. Both devices fail in the same way though.
When I tried ttyS3 and ttyS4 (as a test)I got I/O errors in
/var/log/messages.

I've tried talking to the modem directly through /dev/ttyS0 and ttyS1
using the cat command, but it doesn't seem to respond. Is there another
command, terminal emulator that will let me see what the modem is saying
back? If cat allows this, the modem is not sending any info back.

r.

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: Fri, 24 Sep 1999 12:23:04 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: PPP problems

Raul Cuza wrote:
> I've tried talking to the modem directly through /dev/ttyS0 and ttyS1
> using the cat command, but it doesn't seem to respond. Is there another
> command, terminal emulator that will let me see what the modem is saying
> back? If cat allows this, the modem is not sending any info back.

Try minicom

- --
Andrew E. Mileski - Software Engineer
Rebel.com  http://www.rebel.com/

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

Date: 28 Sep 1999 18:31:07 -0400
From: Sean MacLennan <[email-masked]>
Subject: Time for battle

It is time to do battle with my old nemisis, sendmail. Has anyone got
a good battle plan for getting sendmail to work with a dialup ISP? I
am willing to try sendmail one more time before switching back to
smail.

Thanks,
  Sean

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general" as the body of your message.

------------------------------

End of general-digest V2 #97
****************************

--
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe general-digest" as the body of your message.