Linux-Misc Digest #733, Volume #26                Sat, 6 Jan 01 15:13:02 EST

Contents:
  Re: lltostr() in Linux ? (Maurizio Loreti)
  RH6.2 server. Ethernet problems - really strange! (Bo Berglund)
  Re: Linux 2.4 on RH7.0 ([EMAIL PROTECTED])
  muLinux+ftp - someone who did it ("Crafty")
  Re: Linux into a blank PC ([EMAIL PROTECTED])
  Virtual Desktop? ("Chris")
  Re: Virtual Desktop? ("Terry Moore-Read")
  Re: RH6.2 server. Ethernet problems - really strange! (David)
  Re: ipchains question (Mark Post)
  Re: 2.4 finally made official (Glitch)
  Re: ppp problem with ISP (Glitch)
  Re: Problem with Joystick , SBLive , OSS , Slackware 7.1 (Daryl Fonseca-Holt)
  Re: ppp problem with ISP (Glitch)
  DOSEMU (Harry)
  Re: PANIC! Cannot see anything after install! (RH6.2) (RIch Parrett)

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

From: Maurizio Loreti <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,gnu.gcc.help,comp.lang.c
Subject: Re: lltostr() in Linux ?
Date: 06 Jan 2001 18:58:55 +0100

Chet Vora <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> Sorry if this is not the right forum for this question.
> 
> What is the substitute for the C function lltostr() (provided on some
> systems eg. Solaris) for conversion of a long long to string () ? I
> couldnot find this function  or anything  similar on RH6.2 Linux.
> 
> Will appreciate any feedback.
> 
> TIA,
> Chet

man sprintf

-- 
Maurizio Loreti                         http://www.pd.infn.it/~loreti/mlo.html
Univ. of Padova, Dept. of Physics - Padova, Italy            [EMAIL PROTECTED]

Alan Turing thought the whole life about the question of whether
machines can think; a question of which we now know that it is
about as relevant as the question of whether submarines can swim.
                -- Edsger W. Dijkstra

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

From: [EMAIL PROTECTED] (Bo Berglund)
Crossposted-To: comp.os.linux.help,comp.os.linux.networking
Subject: RH6.2 server. Ethernet problems - really strange!
Reply-To: [EMAIL PROTECTED]
Date: Sat, 06 Jan 2001 18:15:52 GMT

I don't understand this!
I have done three RH6.2 installs on this machine so far:
- Custom KDE where I deselected whatever I thought I would not need
- KDE workstation with everything left on and adding samba
- Server, here I did not get any options to fill in
(The reason for these installs was that some part of the system did
not work and i could not figure out how to fix it otherwise.)�

In all of these cases my network cards (3Com 3C509 Combo) were *not*
detected and there was no network setup dialog. So I had to manually
add the eth0 and eth1 NIC:s and give them IP addresses after install.
In the first two cases there were GUI tools I could use to handle
this, but in the last case I had to use ifconfig to set the IP and
netmask. Big problems for me (newbie) to find all the right command
line commands to type in (I have read many HOWTO pages but it is not
right yet).

What I really cannot understand is how I set the ethernet settings so
that they stick! As it is now all is lost on a reboot, no ethernet, no
IP address, no netmask, gateway, DNS etc. All gone! THis was not so on
the workstation installs.

How can I make all of this stay through a reboot?
I want to be able to set these items (at least) for *each* ethx:
IP address
Netmask
Gateway
DNS servers

And all of this from the command prompt (all there is!)

PS is there any way i can get the KDE GUI installed on my RH6.2
server? I don't really want to reinstall as a workstation since I have
now added a lot of stuff to make Apache, FTP and Samba work like I
want and I have also added BackupExec agent and so on.

Bo Berglund
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Re: Linux 2.4 on RH7.0
Date: Sat, 06 Jan 2001 13:42:46 -0500

[EMAIL PROTECTED] wrote:

> Hi,
>
> People who are already using the new kernel on RH7.0, how is it? Is
> RH7.0 really 2.4 ready? Is it worth compiling or should I wait for the
> next official RH or Mandrake version?

// you don't really understand what a distribution is... Sure any kernel
works on any
// distrib!!! That's why it's called "linux"        :o)

// I got 2.4.0 last night and compiled it, works like a charm.
// (except for that buggy aztcd module that keeps crashing my computer,
that is)

>
>
> Thanks
>
> Wroot
>
> Sent via Deja.com
> http://www.deja.com/


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

From: "Crafty" <[EMAIL PROTECTED]>
Subject: muLinux+ftp - someone who did it
Date: Sat, 6 Jan 2001 19:45:02 +0100

I need somebody who has set up a ftp server in muLinux. I've tried to do it
myself but after a week I'm back where I've started.

Is there anybody here that could help me?

===========================
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED]
Subject: Re: Linux into a blank PC
Date: 06 Jan 2001 10:46:55 -0800

[EMAIL PROTECTED] (Rolie Baldock) writes:

> Hello Carl,
> 
> Thanks for your email with your address etc.
> 
> Yes the PC in question has a CD drive and I have a copy of Red Hat
> LINUX on CD and a copy of InfoMagic LINUX toolbox with 2 CDs. I
> suspect the InfoMagic package might be old and out of date as it was
> given to me by a feller who has had it for a long time without doing
> anything with it.  I have just purchased a new box of floppies so as
> to be able to make a boot-floppy with RAWHIDE, as per the instructions
> in the RH booklet. Where I go from there is unknown territory. Haven't
> even got a compass to guide me. 
> 
> Regards,
> 
    Well, the instruction booklet should be able to guide you.  Just take
things one step at a time.  When I bought that slackware distribution on
50 floppies (I calculated the other night that it must have been in 1994)
and installed it on that laptop, I was something of a newbie myself.  My
first programming was done on a PDP-8, but I had had lots of experience
with Unix.  Still, the laptop came with Windows 3.1 and a cheap monochrome
LCD display.  I didn't like it which was why I was happy to try linux.  It
meant trashing Windows 3.1, and since the laptop didn't come with
installation diskettes for windows, that meant it would be gone forever.

        I remember at one point I couldn't get the laptop to boot and I
wondered if I'd somehow trashed the whole machine and what it would take,
but persistance won out!  I managed to partition the laptop's 250 meg
hard drive into swap and linux and install with lilo so it would boot up.
I didn't bother with X-Windows on that machine.  It all took me half of a
Saturday and it was intense but the experience gave me confidence to
move along.  The floppies had come with a booklet that included instructions
by Matt Welsh, who later went on to write the book "Running Linux", published
by O'Reilly.


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

From: "Chris" <[EMAIL PROTECTED]>
Subject: Virtual Desktop?
Date: Sat, 6 Jan 2001 13:45:36 -0500

Is there any program that allows you to open a linux desktop in windows? I
know there are xserver applications that allow you to open specific programs
from linux in windows, like an instance of emacs, but I wanted to open a
whole new desktop, like something you do in pcanywhere.

Thanks for your help!

Chris



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

From: "Terry Moore-Read" <[EMAIL PROTECTED]>
Subject: Re: Virtual Desktop?
Date: Sat, 6 Jan 2001 10:54:38 -0800

Check this out :

http://www.uk.research.att.com/vnc/

"Chris" <[EMAIL PROTECTED]> wrote in message
news:937p4g$k34$[EMAIL PROTECTED]...
> Is there any program that allows you to open a linux desktop in windows? I
> know there are xserver applications that allow you to open specific
programs
> from linux in windows, like an instance of emacs, but I wanted to open a
> whole new desktop, like something you do in pcanywhere.
>
> Thanks for your help!
>
> Chris
>
>



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

From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking
Subject: Re: RH6.2 server. Ethernet problems - really strange!
Date: Sat, 06 Jan 2001 18:55:54 GMT

Bo Berglund wrote:
> 
> I don't understand this!
> I have done three RH6.2 installs on this machine so far:
> - Custom KDE where I deselected whatever I thought I would not need
> - KDE workstation with everything left on and adding samba
> - Server, here I did not get any options to fill in
> (The reason for these installs was that some part of the system did
> not work and i could not figure out how to fix it otherwise.)�
> 
> In all of these cases my network cards (3Com 3C509 Combo) were *not*
> detected and there was no network setup dialog. So I had to manually
> add the eth0 and eth1 NIC:s and give them IP addresses after install.
> In the first two cases there were GUI tools I could use to handle
> this, but in the last case I had to use ifconfig to set the IP and
> netmask. Big problems for me (newbie) to find all the right command
> line commands to type in (I have read many HOWTO pages but it is not
> right yet).
> 
> What I really cannot understand is how I set the ethernet settings so
> that they stick! As it is now all is lost on a reboot, no ethernet, no
> IP address, no netmask, gateway, DNS etc. All gone! THis was not so on
> the workstation installs.
> 
> How can I make all of this stay through a reboot?
> I want to be able to set these items (at least) for *each* ethx:
> IP address
> Netmask
> Gateway
> DNS servers
> 
> And all of this from the command prompt (all there is!)


You should be able to set these in the files below.

/etc/sysconfig/network
Contains gateway and gateway device


/etc/sysconfig/network-scripts/ifcfg-eth0 # or eth1
Contains IP, Netmask

/etc/resolv.conf
Contains DNS IP

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.987% of seti users. +/- 0.01%

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

From: [EMAIL PROTECTED] (Mark Post)
Crossposted-To: comp.os.linux.redhat,linux.redhat.misc
Subject: Re: ipchains question
Date: Sat, 06 Jan 2001 19:02:34 GMT

On Sat, 06 Jan 2001 08:18:26 GMT, "Leon Bourassa" <[EMAIL PROTECTED]>
wrote:

>IPChains checks rules in order, most of the info I have seen, is that
>default deny rules are created off the start, then are deleted at the end
>once everything is set up.

If you do things in the right order, this sort of convulted process isn't
necessary.

>The ideal way of doing this is to explicitly
>allow what you want, and then, deny everything else.

Actually, it's to deny everything, then allow only what you want.  Same
thing from a different mindset.

>
>This should work for ya:
-snip-

If you put these:
>##
># Set default policies for all chains to DENY
>ipchains -P input DENY
>ipchains -P output DENY
>ipchains -P forward DENY

before this:
>ipchains -F

then you don't need these:
>ipchains -I input 1 -j DENY
>ipchains -I output 1 -j DENY
>ipchains -I forward 1 -j DENY
>
-snip-
or these:
>##
># Delete the first blocking rules so that stuff can start working.
>ipchains -D input 1
>ipchains -D output 1
>ipchains -D forward 1


Mark Post

Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.

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

Date: Sat, 06 Jan 2001 14:21:21 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy,comp.os.linux.portable
Subject: Re: 2.4 finally made official



[EMAIL PROTECTED] wrote:
> 
> No, it's still there running on IIS
> 
> Nigel Feltham wrote:
> >
> > Glitch wrote in message <[EMAIL PROTECTED]>...
> > >http://www.msnbc.com/news/512189.asp
> > >It's about time.
> >
> > Surprising to find this on a MS sponsored site especially the
> > mention of it being an alternative to windows - better read it
> > quick before MS get the page removed ;-)

really, Windows advocates probably thought the page was hacked
considering what was said. :)

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

Date: Sat, 06 Jan 2001 14:24:49 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP



[EMAIL PROTECTED] wrote:
> 
> Glitch <[EMAIL PROTECTED]> did eloquently scribble:
> > hello,
> 
> > My ISP uses PAP for ppp connections. I can login fine using Win98 but
> > kppp won't login using PAP.  Neither OS will work usinga terminal window
> > as my ISP has changed their menu system to where a person can't initiate
> > a ppp link manually therefore it has to be done automatically.
> > Unforutnately that doesn't work in Linux, as I said.
> 
> It might.
> Kppp is NOT the only way to connect using linux.
> Personally, I use wvdial. This is a damned good dialer/ppp program.

actually i've tried wvdial and a few minutes ago I tried Gnomeppp or
whatever it's called.
wvdial sees the Menu that my ISP has setup on the dial up server. THere
is only one option now, which is for a shell login. There is no option
to start a ppp link manually like there used to be so both wvdial and
kppp try to start a  ppp link on their own but b/c the server does not
do its part pppd ends up dying and kppp says i tried to start ppp w/o
the server being ready, but the server just sits there. How win98 does
it w/o using a terminal window is beyond me.
> 
> > I've also read that it may be something to do with the number of bits or
> > the settings of how those bits are sent, like 8 bits are sent with Non
> > parity , something like that. Right now Win98 is configured with an 8N1
> > setting. Where do i look to see if ppp in Linux is setup the same way
> > and how would i change it if it's not like that?
> 
> I *think* wvdial will do that kind of stuff automatically...
> Worth a try anyway.


already tried, no go

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

From: [EMAIL PROTECTED] (Daryl Fonseca-Holt)
Subject: Re: Problem with Joystick , SBLive , OSS , Slackware 7.1
Reply-To: [EMAIL PROTECTED]
Date: Sat, 6 Jan 2001 13:15:39 -0600

I had to add the following to /etc/modules.conf  (or /etc/conf.modules):

        alias char-major-15 joy-analog
        options joy-analog js_an=0xa800,0x0033

Note that the SBLive joystick is at port A800. You will have to look at the
1.2.15 docs for the 0x0033 value you need for a Wingman. Also, I am not
familiar with the Wingman, so you may need to load some other module than
joy-analog, but the docs for pretty good about showing which to use. Hope this
helps.

Wyatt.

On 4 Jan 2001 11:08:40 GMT, Heikki Ylipiessa <[EMAIL PROTECTED]> wrote:
>Hi .
>I have SBLive soundcard and it's working 100 % OK with OpenSoundSystems
>sound-driver package .. Now i have Logitech Wingman Digital Extreme 3D
>joystick and i have some problems to get the joystick working ..
>I have compiled the 1.2.15 joystick package ..
>and now i need to know are there any special tricks to get the joystick
>working?
>
>Heikki (OH9MVX)
>[EMAIL PROTECTED]
>

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

Date: Sat, 06 Jan 2001 14:30:40 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP



Bill Unruh wrote:
> 
> In <[EMAIL PROTECTED]> Glitch <[EMAIL PROTECTED]> writes:
> 
> >My ISP uses PAP for ppp connections. I can login fine using Win98 but
> >kppp won't login using PAP.  Neither OS will work usinga terminal window
> 
> Yes, it will.
> 

not with my ISP it won't

> >as my ISP has changed their menu system to where a person can't initiate
> >a ppp link manually therefore it has to be done automatically.
> >Unforutnately that doesn't work in Linux, as I said.
> 
> It does.

it hasn't yet

> 
> >I'm getting teh 'receive serial link is not 8-bit clean". I'm reading
> 
> Are you presently using a chat script under kppp? Get rid of it.
> Choose the pap authentication.
> If you keep having trouble, post your logs after switching on debugging
> for ppp (NOT kdebug)
> 
> >curently from search results at Google this error usually means that my
> >ISP didnt' have ppp running on yet on their end. If that is the case
> >then how is it Win98 can make a connection to my ISP w/o my
> >intervention? What does Win98 do that Linux isn't doing to force the
> >server to start a ppp link? There is no way I can use a expect/send
> >script (in a terminal window) with kppp like i used to. The closest I
> 
> YEs, that is the WRONG thing to do.

well i know that. But i figured i'd try it anyway since PAP, and i tried
CHAP yesterday, doesn't work.
> 
> >can get is using PAP but ppp times out b/c it says I tried to start ppp
> >when the server wasn't ready so it just dies. But I dont know how to get
> >the server to start ppp.
> 
> You need to tell us exact error messages.

when i get back into linux i'll save them and post them in Windows.
Currently i'm getting  a Sigterm sent to pppd b/c it doesn't get a
response from the dial up server so it dies.
I'm also receiving a message saying char-major-15 is unknown or
something like that
And I get the 'receive serial link is not 8bit clean" message.
And the other one i get is "unknown module ppp" or something like that
but i have both the following lines in my modules.conf file:

alias ppp0     ppp
alias ppp1     ppp

If u still need the exact error messages I can provide those as I said.
> 
> >I've also read that it may be something to do with the number of bits or
> >the settings of how those bits are sent, like 8 bits are sent with Non
> >parity , something like that. Right now Win98 is configured with an 8N1
> 
> No. Not the problem.

ok
> 
> >setting. Where do i look to see if ppp in Linux is setup the same way
> >and how would i change it if it's not like that?
> 
> For detailed help ( but not with kppp) see
> www.theory.physics.ubc.ca/ppp-linux.html

thanks for the help so far

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

From: Harry <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.setup
Subject: DOSEMU
Date: Sat, 06 Jan 2001 19:52:09 +0000

I tried to get this going on my laptop, but it won't compile. It
complains about a missing file "version.h" which should be in
/usr/src/linux/include, but there are no files at all in there, only
directories (infact "version.h" exists knowhere on the machine. I have
no idea what this file is or why dosemu needs it, and I can't find any
reference to this problem in the news archives. I'm running slackware
7.1 with 2.2.18 kernel - the full source tree is in place. Can anybody
advise?

Thanks

Harry

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

From: RIch Parrett <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
Subject: Re: PANIC! Cannot see anything after install! (RH6.2)
Date: Sat, 06 Jan 2001 14:08:21 -0600

There are two files associated with the monitor and its resolution.
Understand that you need to know about your monitor.  Vertical and
Horizontal sync rates and resolution.   One file is "/etc/inittab"  Which
controls whether you login under X windows or not.   You need to change
the runlevel of the system to 3.  The current setting is 5. Any text
editor will do this.  Read through this file It gives pretty good
instruction  ans starts with "# Default runlevel"  You do this so that
your system will boot in text mode.  You want to leave it at this setting
until you are finsihed playing with things.

The second file is "/etc/X11/XF86Config"  You shouldn't modifigy it
directly but instead run a program called xf86config   Notice the
capitalization.  Both the progam and the file have the same name other
than that.

To start X type "startx" after you login.  You must login as root.  After
you get a stable display in X you can go back and change the runlevel to 5
and get the GUI interface
Bo Berglund wrote:

> The reason for my problem regarding the blank screen seems to be that
> the wrong video mode was selected during RH6.2 setup. There are two
> screens for this if you run a complete setup, the second one is for
> resolution setup. But the second screen does not show up if you do an
> upgrade and the monitor select erroneously says that my monitor can
> handle vertical rates of 110 Hz....
>
> I had to reinstall RH from scratch instead of upgrading to see both
> screens. Then I manually edited the vertical sync radte for my monitor
> to max out at 75Hz and selected 800x600 resolution on the following
> screen. This also had a test button that actually displayed something
> that I could click.
>
> After this I no longer had these problems (but others popped up
> instead....).
>
> BTW: I now want to reset resolution to 1024x768 but there seems not to
> be any function to do that. I have looked 'everywhere' in right click
> menus and regular list of functions on all buttons I have seen but the
> resolution thing is not shown. One would think that this could be
> displayed in a properties or settings dialogue somewhere, but I have
> yet to find it. It is not in the same place as in W95 at least.
> Display properties on the right-click menu is very much like the W95
> properties dialogue but lacks the resolution page.
> Does anyone know where this is located or is this a one-time setting
> during Linux installation?
>
> /Bo
>
> On Sat, 30 Dec 2000 13:52:27 GMT, [EMAIL PROTECTED] (Bo Berglund)
> wrote:
>
> >I am completely stumped by this:
> >Installed RH6.2 on a PC that previously was running RH5.1, but with
> >new disk, all other hardware the same. Video is a Trio S3 on teh
> >motherboard.
> >
> >Used the graphic installation and specified KDE Workstation.
> >
> >After all was completed the system restarted and during that there was
> >a brief show of a character based login. But before I was done typing
> >in the login the screen disappeared completely into a black
> >nothingness!
> >Can't do anything here. Except I tried to login blindly by first
> >typing root then TAB then the root password. This started some
> >activity showing the system somehow is acting 'normally' except
> >nothing is displayed!
> >
> >Tried to redo the installation as an 'Upgrade' (Why is there no
> >'repair' option?) to preserve what I did before, but no good - still
> >the black screen.
> >
> >Why does the screen disappear, there is a perfectly good graphics
> >screen shown during the setup sequence???
> >
> >
> >Bo Berglund
> >[EMAIL PROTECTED]
>
> Bo Berglund
> [EMAIL PROTECTED]


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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to