Linux-Development-Sys Digest #13, Volume #7       Sun, 1 Aug 99 09:14:10 EDT

Contents:
  Re: IP Masquerading seems flaky with 2.2.x kernels (Monte Phillips)
  Unresolved symbol: module_list ([EMAIL PROTECTED])
  Re: I am new to all of this and ... (Paul Kimoto)
  Re: NT to Linux port questions (David Schwartz)
  Web Based Linux Management ("Karl McMurdo")
  Re: Web Based Linux Management (Menno Bakker)
  APM_BAD_PARAM Error  (Wes Strater)
  Re: Modifying Red Hat, how? (Dr H. T. Leung)
  Re: Web Based Linux Management (Eugene Strulyov)
  Re: Linux Journal - worth or not? (Christopher B. Browne)
  Re: java compiler (Praveen)
  just for adults 104416 ([EMAIL PROTECTED])
  Please Help me (lex and yacc on linux) (Myung Ki-Ho)
  Re: Please Help me (lex and yacc on linux) (Torbjorn Tallroth)

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

From: [EMAIL PROTECTED] (Monte Phillips)
Crossposted-To: comp.os.linux.networking
Subject: Re: IP Masquerading seems flaky with 2.2.x kernels
Date: Fri, 30 Jul 1999 17:30:36 GMT

I may be completely out in left field here BUT <G>. 

The 42.42.42.42 has me baffled, why not just plain 0.0.0.0?   That 42
stuff would seem to me to possibly screw up some masks.

g'luk

 Steve Mokris <[EMAIL PROTECTED]> wrote:
>I have recently upgraded several network gateway machines to various
>versions of the 2.2.x kernel (where x=6, 7, and 10).  I was previously
>running 2.0.34 which I compiled to include support for IP Masquerading,
>and this setup worked very well.  I used ipfwadmin to initialize the
>masquerading.
>/etc/rc.d/rc.inet:
># 42.42.42.42 is a dummy ip to initialize eth0 to before it gets
># the real ip from dhcp.  it did not seem to initialize properly
># otherwise.
>/sbin/ifconfig eth0 42.42.42.42 up
>/sbin/rrdhcpcd
>/sbin/rrlogind
>/sbin/ifconfig eth0:0 10.0.7.1 up
>/sbin/route add -net 10.0.7.0 netmask 255.255.255.0 eth0:0
>/sbin/ipchains -P forward DENY
>/sbin/ipchains -A forward -s 10.0.7.0/24 -i eth0 -j MASQ
>echo 1 > /proc/sys/net/ipv4/ip_forward
>/sbin/modprobe ip_masq_ftp
>/sbin/modprobe ip_masq_user
>I have had varying success with external access using machines on the
>local network (10.0.7.0/24).  Windows machines (arrgh) and Unix
>workstations (two SGI Indys, an HP workstation, an AlphaStation, and a
>Sun) have no trouble accessing the Internet through the masquerading
>gateway, though all of the Linux boxen have very flaky access.

>After rebooting, I can (for example) ping netscape.com seemingly
>indefinitely.  I then try to ping freshmeat.net, and get at most four
>ping responses.  Following that, I am unable to access any other
>external servers.  The same thing happens with any set of two external
>servers.


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

From: [EMAIL PROTECTED]
Subject: Unresolved symbol: module_list
Date: Sat, 31 Jul 1999 14:16:01 GMT

Hi.
I'm writing a kernel module and I need access to module_list pointer.
I've declared it as extern struct module *module_list; , but insmod
gives me unresolved symbol error.
Module_list is declared in kernel/module.c: (kernel 2.0.36)
...
static struct module kernel_module;
static struct module *module_list = &kernel_module;
...
I'm able to access kernel_module, but not module_list.
It's very strange for me, but I'm new in kernel module
programming.Could someone explain it to me?

Jack
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: I am new to all of this and ...
Date: 31 Jul 1999 11:28:23 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Robert McGwier wrote:
> I have just built the kernel 2.2.10 for my Dec Alpha box and all
> runs well.  Why don't the kernels come with version.h in them.
> Where can they be found?  In the absence of finding them, how can
> one determine LINUX_VERSION_CODE in the include file?

The include/linux/version.h file is built during the kernel build.
See the top-level Makefile.  You can also see there how the
LINUX_VERSION_CODE is determined.

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: David Schwartz <[EMAIL PROTECTED]>
Subject: Re: NT to Linux port questions
Date: Mon, 26 Jul 1999 00:03:10 -0700


> > THe MS WaitForMultipleEvents has the ability to be called so it doesn't
> > return unless ALL handles become signaled SIMULTANEOUSLY select can't do
> > this.
> 
> So you want something that won't return until ALL of the objects
> become ready?  I would think that you'd want something to return as
> soon as ANYTHING became ready.  It's not too hard to emulate this in
> any event: keep calling select() on everything that isn't yet ready
> until everything has finally reported in.  Put it in a library
> routine, and nobody will be any the wiser.

        It's not that simple. By the time you've established that the last
thing is 'ready', the first thing may no longer be. And by the time you
can retest everything, nothing may be ready anymore. Though I think this
is pretty much useless, it's not easy to emulate. The best solution is
to rearchitect so that you don't need it.

        The POSIX/UNIX way and the WIN32 way of a lot of things are very
different. The way to port is to find the right level of abstraction in
your program and draw a line. Recode everything below the line for the
new platform. If you code is well structured, this won't be unduly
difficult.

        DS

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

From: "Karl McMurdo" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera,comp.os.linux.networking,comp.os.linux.security
Subject: Web Based Linux Management
Date: Sat, 31 Jul 1999 13:51:36 -0600

Is there such an animal ?

Unixware has their 'Webtop' interface that allows system management with a
web interface, and Samba has it as well, I'm looking for the ability to
manage a linux server from a remote browser (or even a local browser
although that makes less sense as you are in X and presumably X management
tools are available)   I have a number of application servers that do not
have X installed, and a couple that do, my 'desktop' machine is actually a
laptop running WinNT, and I run a windows X-Server to connect to those
machines with X running, and telnet into the others to do sysadmin tasks.  I
have been experimenting with perl and have created a script to do the most
common task (add/mod/del users) with a web interface, and am thinking of
expanding it to cover more tasks, but don't want to reinvent the wheel.
Any feedback would be appreciated.

Karl McMurdo




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

Date: Sat, 31 Jul 1999 22:32:26 +0200
From: Menno Bakker <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera,comp.os.linux.networking,comp.os.linux.security
Subject: Re: Web Based Linux Management

Karl McMurdo wrote:
> 
> Is there such an animal ?
> 
> Unixware has their 'Webtop' interface that allows system management with a
> web interface, and Samba has it as well, I'm looking for the ability to
> manage a linux server from a remote browser (or even a local browser

I know of two such beasts: linuxconf and webmin. You'll find them via
freshmeat.net.

Menno

-- 
Linux 2.2.9 i586
 10:30pm  up 11 days, 22:56,  2 users,  load average: 0.17, 0.16, 0.11

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

From: Wes Strater <[EMAIL PROTECTED]>
Subject: APM_BAD_PARAM Error 
Date: Sat, 31 Jul 1999 18:36:53 -0400

I have a newly aquired Compaq 5133 and I am getting the following error:

apm: busy: Parameter out of range

These error occur when the screen is blank. When I press shift to
redisplay the screen, most of the time the screen goes blank again.

I am new to linux but traced the error back to the apm.c.

Is this a known problem with my machine and can I set parameters to
avoid this or do I have problems with my machine?

If it is a parameter setting, could you please be explicit in your
explenation or tell me where there is a good explenation since I am new.

Thanks, wes.




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

From: [EMAIL PROTECTED] (Dr H. T. Leung)
Subject: Re: Modifying Red Hat, how?
Date: 31 Jul 1999 22:54:23 GMT


There is a RedHat-CD-HOWTO (or mini-howto) on the LDP sites which include a
section about how to create a CD with the updates integrated; I think that's
exactly what you need. It has a few shell scripts for doing exactly what you were
attempting (replacing the files, plus updating the installation database to use
the new RPMS). I have used them for integrating the updates to installation CDs
(both 5.2 and 6.0) and they worked. 

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Satomi Yoshida) 
writes:
|> Hello,
|> As some of you might already know, there are a number of updates
|> RH6.0 now.  At the moment, when I am setting up a new system
|> I manually have to update the relevant programs using rpm
|> command and after doing it for a number of times I am getting
|> bored.
|> 
|> What I would like to achieve is to blend these updates into
|> RH standard installation procedure so that I dont have
|> to update them later on.  The first attempt that I tried and failed
|> was to replace the older files under RedHat/RPMS directory
|> with the new ones.
|> 
|> Wondering if somebody can give me some input on how
|> to do it properly
|> 
|> thanks
|> glenn
-- 
          --------------------------------------------------
"What you don't care cannot hurt you."            Chap. 7a, AMS-NS

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

From: Eugene Strulyov <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera,comp.os.linux.networking,comp.os.linux.security
Subject: Re: Web Based Linux Management
Date: Sun, 01 Aug 1999 02:40:39 GMT

dGhlIHdlYiBtYW5hZ2VtZW50IHRvb2wgdGhhdCBJJ20gYXdhcmUgb2YgaXMgY2FsbGVkIGxp
bnV4Y29uZi4gSXQgYWN0dWFsbHkgaGFzDQozIGludGVyZmFjZXM6IGNvbnN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HJ1biBhIHdpbmRvd3MgWC1TZXJ2ZXIgdG8gY29ubmVjdCB0byB0aG9zZQ0KPiBt
YWNoaW5lcyB3aXRoIFggcnVubmluZywgYW5kIHRlbG5ldCBpbnRvIHRoZSBvdGhlcnMgdG8g
ZG8gc3lzYWRtaW4gdGFza3MuICBJDQo+IGhhdmUgYmVlbiBleHBlcmltZW50aW5nIHdpdGgg
cGVybCBhbmQgaGF2ZSBjcmVhdGVkIGEgc2NyaXB0IHRvIGRvIHRoZSBtb3N0DQo+IGNvbW1v
biB0YXNrIChhZGQvbW9kL2RlbCB1c2Vycykgd2l0aCBhIHdlYiBpbnRlcmZhY2UsIGFuZCBh
bSB0aGlua2luZyBvZg0KPiBleHBhbmRpbmcgaXQgdG8gY292ZXIgbW9yZSB0YXNrcywgYnV0
IGRvbid0IHdhbnQgdG8gcmVpbnZlbnQgdGhlIHdoZWVsLg0KPiBBbnkgZmVlZGJhY2sgd291
bGQgYmUgYXBwcmVjaWF0ZWQuDQo+DQo+IEthcmwgTWNNdXJkbw0K

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

From: [EMAIL PROTECTED] (Christopher B. Browne)
Crossposted-To:  comp.os.linux.development.apps
Subject: Re: Linux Journal - worth or not?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 01 Aug 1999 02:31:06 GMT

On Sat, 31 Jul 1999 18:17:13 -0500, Keith Brown <[EMAIL PROTECTED]> posted:
>Can't say I disagree with anything you said. I said it was expensive to
>subscribe, and of course, I also said I buy every issue on the newstand,
>so in effect, I'm willing to pay even *more*, just not all at once...:-)
>I think BYTE and PC Magazine are probably other often cited examples of
>the phenomenon you mention above. Anyhoo, continuing to include high
>quality content will keep me willing to pay the price of admission. The
>free market rules!

I would suggest that it's even more expensive to buy on the newsstand
than you think.

By going onto the newsstand, that forces the "advertising pressures"
to a head, because it reduces the proportion of the revenues from
sales that the magazine gets.

After all, someone's paying for the costs of moving magazine from
Seattle to your local newsstand, as well as the profits taken by both
the wholesale distributor and the newsstand...

This is a case where the free market:
a) Isn't all that free, as the magazine wholesalers are a very small
population, and very close to a monopoly, and
b) Doesn't very well defend "quality content."  The free market
*really* defends the notion of maximizing revenues/profits.  Quality
is not at the top of the list of things that it encourages, sadly...

-- 
"Administering a Linux server is no more difficult than properly
running Windows NT."  -- Infoworld, November 24, 1997
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/lsf.html>

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

From: Praveen <[EMAIL PROTECTED]>
Subject: Re: java compiler
Date: Sat, 31 Jul 1999 21:44:53 -0500


Check out www.blackdown.org

-Praveen

kl wrote:
> 
> Is there a java compiler on  RH6.0?  I can't seem to find it.

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: just for adults 104416
Date: 31 Jul 1999 23:49:10 PDT
Reply-To: [EMAIL PROTECTED]

Sweet XXX!

http://207.240.225.250/


RZqkNe88

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

From: Myung Ki-Ho <[EMAIL PROTECTED]>
Subject: Please Help me (lex and yacc on linux)
Date: Sun, 01 Aug 1999 19:37:10 +0900

Dear reader
I'm linux user.
I'm studying lex and yacc in linux(Redhat 5.2)
But I don't know how to compile lex and yacc in linux.
Please, tell me hoe to compile lex and yacc in linux.


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

Date: Sun, 1 Aug 1999 14:02:44 +0200
From: Torbjorn Tallroth <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Please Help me (lex and yacc on linux)

On Sun, 1 Aug 1999, Myung Ki-Ho wrote:
> Dear reader
> I'm linux user.
> I'm studying lex and yacc in linux(Redhat 5.2)
> But I don't know how to compile lex and yacc in linux.
> Please, tell me hoe to compile lex and yacc in linux.

Try flex and bison.

-- 
tth


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


** 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 (and comp.os.linux.development.system) via:

    Internet: [EMAIL PROTECTED]

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-Development-System Digest
******************************

Reply via email to