Linux-Misc Digest #305, Volume #24               Fri, 28 Apr 00 18:13:03 EDT

Contents:
  Re: Can't exit gdm in Slack 7 (Ron Gibson)
  LSL uses Microsoft Outlook!!! (Tim Holmes)
  Re: Linux and SCO (Linus Torvalds)
  Re: LILO stops at LI (Freddie)
  Re: Should I ignore bootps/bootpc packets? (Manfred Bartz)
  Re: Linux modem (Unclebob)
  Re: How can I tell Linux-Intel from Linux-Alpha (U.V. Ravindra)
  Cannot activate framebuffer mode via lilo.conf (Otto Wyss)
  Hosting Multiple Domains (Chris Greenman)
  Re: Network Problem!! BRANDnewbie (Noah Kuhn)
  Re: Networking To Windows Problems (David Waffen)
  VPN server for linux ("H.T. Sun")
  VPN server for linux ("H.T. Sun")
  VPN server for linux ("H.T. Sun")

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

From: [EMAIL PROTECTED] (Ron Gibson)
Crossposted-To: comp.os.linux.setup
Subject: Re: Can't exit gdm in Slack 7
Date: 28 Apr 2000 20:14:45 GMT

Jeff Workman <[EMAIL PROTECTED]> stated with conviction:
 
> > GDM has the ability to chose the manager you want but I can't figure a
> > way to exit the login profile other than to open another terminal
> > and kill the process
 
> I'm not sure if you are talking about exiting your X session or exiting X 
> altogether.  If you just want to exit your X session and be presented
> with another GDM login, try pressing CTL-ALT-BACKSPACE. If you want to 
> get completely out of X and back to the console. Type /sbin/init 3 as
> root.
 
Yeah, what I want to do is to be able to close the X session, close all
X's and not have gdm still running as a daemon.  So...I did some digging
around and found 

1) No man entry for kdm (that figures)

But I found in my rc.d directory a line...

kdm -nodaemon

>From there I found  /opt/kde/share/config/kdmrc

And edited the line for restart to

Restart=exit
Shutdown=reboot

Now Restart on the kdm menu takes me back to a prompt nicely, but I
still have to do a CTL-C to get back to a prompt. But now ps -aux shows 
no kdm hanging out.

Anyway I'd like to chain a command on the line with 'Restart=exit' to 
do this.  Is this possible?

BTW, this will make you sick :) 

I created a little startup script (I'm a lazy typist) called

   'win'       <ACK>     ...it just has kdm -nodaemon.

But anyway, at least I can explore the different desktops or switch
around to suite my preferences.  KDE is the best one as also StarOffice
seems to be strongly connexted to it.  But, alas, no system sounds for
Slackware 7 (and 4 either).  Enlightenment sounds are great.  Gnome
sounds like crap.

I also add I amazed at how rapidly Linux is evolving.  My first Slack
distribution sported kernel 1.2.13 :) Things are changing so fast now
about the time I get one setup right it's time to get another
distribution and the changes have been huge lately.

Email: [EMAIL PROTECTED]
ICQ: 56576008
Home Page: http://home.netcom.com/~rgibson/index.htm


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

From: Tim Holmes <[EMAIL PROTECTED]>
Subject: LSL uses Microsoft Outlook!!!
Date: 28 Apr 2000 20:13:11 GMT


I just got an order confirmation of some Linux
CD's from "Linux" Systems Labs.  When I tried to read
the jumbled mess of lines, I thought I'd check the
headers.  Sure enough, Microsoft Outlook.  What other
program could do such a lousy job of sending email.

I bet they've got a nice little Windows NT office 
network there.  I should have put in my order for
the new Windows Me.  I bet they have it in stock.

What are they doing using this stuff?  Remind me never
to do business with those dopes again.

Sheeesh.

Tim Holmes


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

From: [EMAIL PROTECTED] (Linus Torvalds)
Crossposted-To: comp.unix.sco.misc
Subject: Re: Linux and SCO
Date: 28 Apr 2000 13:19:24 -0700

In article <iDgO4.18959$[EMAIL PROTECTED]>,
T.E.Dickey <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.misc Warren Young <[EMAIL PROTECTED]> wrote:
>> This is because most Linuxes to date have reversed the traditional
>> mapping of Delete and Backspace: instead of Ctrl-H, Backspace is usually
>> configured to send ASCII 127, which SCO systems interpret the same way
>> as Linux interprets Ctrl-C.
>
>ASCII backspace is control/H, aka BS (127 is DEL).

This is an old, and totally bogus argument.

ASCII BS (the character) is indeed \010, aka character 8, aka ^H. 

But that has absolutely nothing to do with the _keyboard_button_ that
often has a back arrow on it, and also often these days has the text
"Back Space" on it.

And guess what? People _expect_ it to _delete_ the preceding character. 
They'd be really upset if it just backed up over it, which was the
original TTY behaviour (ie ASCII BS is truly historically just a cursor
movement - and in that sense it is truly closer to the "cursor left" key
than to the key many people know as "Backspace"). 

The way you did underlined text (sometimes still used) back in the age
when ASCII was invented, was to write the character, send ASCII BS, and
write a underscore. Kind of like t^H_h^H_i^h_s^h_.

The BackSpace _keyboard_button_ is something else altogether these days.

That, on vt100 terminals (which is what the Linux console and xterms
emulate), generally sends the ASCII DEL character.  The key that is
marked "Delete" sends the vt100 sequence for the delete (^[[3~, I
think).  It does not send the DEL character.  The way to get ^H is to
press control and H at the same time. 

Note that keyboard mappings are seldom the same as "ASCII mappings". 
The classical example of this is CR/LF, where there is again a big key
sometimes called "Enter", and sometimes with a curved arrow, and
sometimes with both.  And depending on the day of the week and the
particular terminal, that key will send either CR of LF or both. 

And the "End" key usually sends _none_ of the ASCII characters ETX, EOT
or ETB ("End of TeXt", "End Of Transmission" or "End of Transmission
Block").

Also, why don't we have a "Cancel" key, even though that is what a lot
of people use "Escape" for?

It's tough, but basically the ASCII names do not match to the keyboards,
or vice versa.  And using them as an argument is not very compelling. 

                Linus

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

From: Freddie <[EMAIL PROTECTED]>
Subject: Re: LILO stops at LI
Date: Fri, 28 Apr 2000 20:30:06 GMT

Ok, you have two solutions.

1. if you have no critical data, format c:, nuf said
2. 
If you do, on the other hand have critical data, remove the hard disk, it should be on 
the side of the laptop and pull-out. Insert it into another bay , like on a tower 
computer, which allows for this type of HD.  boot up the tower, then it will recognize 
the second hd as a slave, as d:/e: depending on network configuration and cd/dvd rom 
configurations. remove any necessary files and reformat the drive, and dont mess with 
the file aprtition sizzes next time unless making them bigger.

EMERGENCY Solution: 
Throw dignity to the gutter and send the computer to Fry's electronics or something 
like that and babble like a baby to them.

Enjoy your computer,

Freddie, 13, 
California, USA

--
Posted via CNET Help.com
http://www.help.com/

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

Crossposted-To: comp.os.linux.security
Subject: Re: Should I ignore bootps/bootpc packets?
From: Manfred Bartz <[EMAIL PROTECTED]>
Date: Fri, 28 Apr 2000 20:43:48 GMT

Thomas Boggs <[EMAIL PROTECTED]> writes:

> Manfred Bartz wrote:
> > 
> > Thomas Boggs <[EMAIL PROTECTED]> writes:
> > 
> > > I use dhclient to maintain an internet connection to my local network
> > > via a cablemodem.  I am using ipchains on my firewall machine.  Every so
> > > often, my firewall log shows blocked packets using the bootps and bootpc
> > > protocols.  So far I haven't experienced any problems due to blocking
> > > these packets.  Is there a reason why I should allow these packets from
> > > the dhcp server to enter?
> > 
> > With those ports blocked, your IP-address lease cannot be renewed and
> > will eventually expire.
> > You only need to have the ports open for UDP, e.g.:
> > 
> > ipchains -I input -i $CABLE -p udp -s $DHCPHOST 67 --dport 68 -j ACCEPT -l
> > 
> > the output chain is always open I assume.
> 
> That makes sense to me but the packet source addresses aren't from my
> dhcp server.  Here are a couple of the log entries (which I should have
> included in the original post):
> 
> Apr 26 21:56:19 gate kernel: Packet log: input DENY eth0 PROTO=17
> 10.28.214.1:67
>  255.255.255.255:68 L=328 S=0x00 I=53372 F=0x0000 T=255 (#4)
> Apr 26 22:10:26 gate kernel: Packet log: input DENY eth0 PROTO=17
> 10.28.214.1:67
>  255.255.255.255:68 L=335 S=0x00 I=54366 F=0x0000 T=255 (#4)
> 
> 10.28.214.1 is _not_ my dhcp server.  Here are the ipchains rules I
> currently have regarding dhcp:
> 
>     BROADCAST_SRC="0.0.0.0"                 # broadcast source address
>     BROADCAST_DEST="255.255.255.255"        # broadcast destination
> address
<snip>
> The only thing I can guess is that 10.28.214.1 is supposed to be the
> value of BROADCAST_SRC.  But I don't want to assume that if it might not
> be true.

Hmm, I am not completely sure what all that means either.  In
particular addresses like 10.x.x.x are supposed to be for private
networks and should not be visible on the Internet.  However, I am on
a cable modem connection myself and get similar packets which I block
in my firewall without adverse consequences.  

It appears that cable providers use 10.x.x.x for some of their routers
etc. (I can ping one of them from here).  And they may use DHCP for their
internal purposes too.

-- 
Manfred


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

From: [EMAIL PROTECTED] (Unclebob)
Subject: Re: Linux modem
Date: Fri, 28 Apr 2000 21:00:21 GMT
Reply-To: [EMAIL PROTECTED]

X-No-Archive: Yes

On or about Fri, 28 Apr 2000 05:30:04 GMT
 <[EMAIL PROTECTED]>
 ....Posted....

>I have a Zoom 56k v90 internal faxmodem when I try to set the modem up in 
>Linux it wont work I have selected /dev/modem Linux says can not find 
>modem  I then set it for /dev/ttys1 then I get sorry modem busy it is not 
>selected as a plug and pray and it is set for com2 any suggestions as to 
>how I can get the modem working also com 2 in cmos is disabled so there is 
>no conflict there 
>--
>Posted via CNET Help.com
>http://www.help.com/

Be advised that /dev/ttys1 is not the same as /dev/ttyS1, the link from
/dev/modem should point to this device.

I think the idea of disabling your com2 might not be such a good idea
and I would check dmesg to see if the ports are being recognized.

-- 
unclebob icq 3347043 (see headers for e-mail)

"Sure, Bill Gates may have sixty-four billion dollars, 
"but is he happy? He IS?? AH, NUTS!!" {Dennis Miller}.
=======================================================

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

From: U.V. Ravindra <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: How can I tell Linux-Intel from Linux-Alpha
Date: Fri, 28 Apr 2000 21:13:21 GMT



Thanks for the note, but `uname -m` on Intel returns "i?86"
(?=4/5/6 etc) on Compaq-Alpha returns "alpha", which still
means I have to *know* that 'Alpha' is a 64-bit processor
and the i?86-s are 32-bit chips.  I could easily hardcode
this in my script with a case-esac, but that may fall
apart when the ia64 comes out! :)

I guess what I'm looking for is more along the lines of what
`getconf KERNEL_BITS` does on HP-UXs (returns nothing on32-bit
architectures, and "64" on 64-bit machines). While 'getconf'
*is* available on Linux Intel *as well as* Linux Alpha,
unfortunately,  "KERNEL_BITS"/"_SC_KERNEL_BITS" isn't one
of the valid variables in 'sysconf(2)'.

Oh, well.  I'll go (kicking and screaming) with the hardcoding
option, I guess...

:-R.



In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Bastian) wrote:
>
> To determine the processor, "uname -m" is a bit better, because
> it produces less output (just the processor type, that's it).
> As for 32bit/64bit I don't know, and I've never heard of a
> solution, but you could add a kernel parameter with lilo, just
> saying "32bit" or "64bit". The /proc/cmdline file will tell you
> then.
>
> Bastian
>
>
> On Fri, 28 Apr 2000 18:39:57 GMT, U.V. Ravindra wrote:
> >Okay, here's my problem:  I want to write a script to tell
> >Linux Intel from Linux Alpha, but that's not all I want to do.
> >I want the script to be able to detect whether the kernel is
> >a 32-bit beast or a 64-bit animal.  The first part of the
> >task is achieved by looking at the output of 'uname -a'.
> >
> >Is there a simple command/way to get at the second?
> >
> >Gazillion thanks for the answer!
> >
> >-Ravindra.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Otto Wyss)
Subject: Cannot activate framebuffer mode via lilo.conf
Date: Fri, 28 Apr 2000 23:27:45 +0200

I've compiled the kernel 2.2.14 to use the framebuffer device (for
Mach64 driver). It seems everthing is okay if I set the framebuffer mode
with "fbset 800x600-72". Unfortunatly I can't activate it thru
lilo.conf.

===========================================
boot = /dev/hda3
linear
timeout = 50
prompt
vga = 5
root = /dev/hda3
read-only
install=/boot/boot.b
map=/boot/map
image = /boot/vmlinuz
  append = "video=atyfb:800x600-72"
  label = Linux
image = /boot/vmlinuz.orig
  label = Orig
===========================================

After restart the penguin shows nicely but fbset returns still mode
"640x480-60" and I get the usual 80x25 screen.

O. Wyss

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

From: Chris Greenman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Hosting Multiple Domains
Date: Fri, 28 Apr 2000 14:26:05 -0700

I've recently been put in charge of setting up a RedHat 6.1 server to do
domain hosting for multiple clients but I've never done anything like
this before and so have a few questions.   My server will act as primary
DNS, Mail, Web (clear text and SSL), and ftp server for all of the
domains.  I pretty much know how to configure the Web and FTP stuff, but
where I'm running into unfamiliar territory is with the DNS and sendmail
stuff.  Not to mention, I'm more of a Solaris and Slackware linux admin
and don't have to much RedHat under my belt.

As far as DNS is concerned,  What would be the best way to set it up.  I
currently am using master zone files for each of the domains and
pointing the master server for those domains to the IP address of the
server.  The only "A" entries I've been putting in has been for
"www.somedomain.com" and I've benn adding MX records to point to the
mail server as well.

EXAMPLE:
blah.com. IN SOA 192.168.1.100. user.blah. (
   956891576
   10800
   3600
   432000
   38400 )
blah.com. IN NS 192.168.1.100.
blah.com. IN MX 10 mail.blah2.com


  Is this the right way to do this or am I doing it wrong?    I have
noticed that so far, the only things that will resolve is the servers
own domain and hostname.  None of the other entries will resolve
correctly either from the server or the internet including othe "A"
entries in the servers domain.

The other question I have is in regards to sendmail.  How do I set it up
to handle multiple domains.   I also need to configure it send all mail
for each domain to the domain owner's e-mail address.  Is this possible,
and if so how do I do it.

Any help on any of the above issues would be GREATLY appreciated.

Chris Greenman



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

From: Noah Kuhn <[EMAIL PROTECTED]>
Subject: Re: Network Problem!! BRANDnewbie
Date: Fri, 28 Apr 2000 17:35:52 -0400

Wow, Joseph I am in debt!!  It did have something to do with the Proxy Server I
think.  We have to activate our computers on each jack that we plug into.  That
was what was not done.  I really appreciate your help, I think anyone having
any trouble with this topic would love to read what you had to say too.
Thanks  a lot.

p.s. this is written from linux!!!

noah




Joseph wrote:

> I'm making the following assumptions here:
> 1) your school's web server is on the local network
> 2) you use some sort of proxy for accessing the web.
> 3) you ( I mean the ipaddress of the computer you are using ) is alowed to
> go outside :)
>
> Most common reasons to Browser not finding an outside web site:
>
> 1) you should specify a computer as a gateway to the outside world.
>     On a windows computer,  check the ip address, netmask and the default
> gateway.
>     Make sure they are the same.
>
> 2) Your dns is not set up correctly.I think the file is resolv.conf in /etc.
> ( could be wrong. Long time since I did this...)
>      The file should have the "nameserver" entries.
>
> 3) Your gateway is using something like a proxy software. In this case, the
> browser in question  (Netscape) may have to be told to send  all http
> requests to the proxy's special  port (  8080 perhapsfor HTTP?  ). Look into
> a windows computer on how it is setup.
> The setting are in netscape'sEdit\preferences ( You are using atleas
> netscape 4.0 on windows right? ). Don't know 'bout IE,
>
> 4) The web site  is blocked by the proxy. ( very unlikely )
>
> Next  :
> try the following
>
> go to a command line from linux ( use xterm )
>
> and ping an address like www.yahoo.com
>
> Note : ping will keep ping'ing the address untill you hit ctrl-C . This is
> it's default behaviour. There are options for it to ping say, 4 times and
> then just stop, but I forget what the parameters are.
>
> You should not only get the ip number but also replies.
> Problems
>    1) No ip number ( ping says bad ip address ) . Then
>         DNS lookup for www.yahoo.com failed . -> DNS is not setup correctly.
>
>     2) IP number is seen but 100% packet loss ( nothing gets through )
>               DNS lookup worked.  ( yippieee!)
>                if DNS server is outside, on the internet , then the proxy is
> allowing through DNS requests, but not letting through traffic on
>                port 80 ( port for HTTP) .
>               Now your proxy is not forwarding the web requests.
>
> What is your dns set to ? IS the DNS server on the local network ? or
> outside  ?
>
> Also , try this : find a windows computer with access to the web, make sure
> it works. Then shut it down, and set the linux   computer's ip address to
> that of the windows computer that you just shut down. See if you can get
> things working .
> Just make sure you change the linux comp's ip number before starting up the
> other windows one!
>
> PS: It would help if you could post some more info on your setup.
>
> Don't give up on it yet . Linux is not windows . It takes a little reading,
> understanding and discussing to handle it properly. And if you screw up,
> it's forgiving enough that you don't have to reformat and reinstall at every
> turn :)  . Also every time you change network settings, you don't have to
> reboot .
>
> Hang in there.
> joseph
>
> Noah Kuhn wrote in message <[EMAIL PROTECTED]>...
> >Hello!!
> >I'm a Linux newbie running Mandrake 7.0 and am trying to set up my
> >internet connection through my school's network.  I have setup the
> >settings such that when I open Netscape and go to my school's website,
> >everything works fine, pages load like twice to 3 times faster than in
> >windows so i'm very excited, the problem is that I cannot access pages
> >beyone my internal www.  I get an error that the Server is Unreachable
> >and there is a TCP error.  I was told there could be many reasons for
> >this (firewall, invisible proxy etc.)  However, no one I spoke to in irc
> >could figure out my problem.  If anyone has ever seen this problem
> >before PLEASE help.  I may even be putting the wrong values in the DNS
> >setup in Mandrake.  I took the values from my winipcfg in win98 and put
> >them in where I thought they went.  Anyway, any response would be very
> >appreciated, i don't want to have to give up on Linux just because of
> >this.  Thank You!!
> >
> >  Noah
> >


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

From: David Waffen <[EMAIL PROTECTED]>
Subject: Re: Networking To Windows Problems
Date: Fri, 28 Apr 2000 22:00:33 GMT

Chris,
A few questions first and assumptions.
1) Win98 machines is currently connect to the interest via some ISP.
2) What Linux distribution are have you installed?  IE> Red Hat 6.x SuSE?
3) You need two 10/100 BaseT NICs in the windows and one in the Linux box.
4) You need a HUB or one cross-over patch cable. (pref. HUB)
5) Make sure your NIC in the linux box is supported by the distro
    EtherLink or Intel Pro 10/100 are easy.
6) assign static address to linux 198.162.0.2 netmask 255.255.0.0
gateway/router 198.162.0.1
7) if you are this far .....and/or you don't know how to configure
the interface on the linux box, let me know.  I will help but I need to
know your distribution.
8) In the Wingate application, I hope you have the manual, set up the
ip forwarding and clients information.

--David
Chris Jones wrote:

> I am very new to linux , but understand the basic concept`s of it. But i
> neet to network to a win98 se2 machine to get it on the net. On the win98
> machine i am running wingate as the proxy program. And any try of pinging
> the networked machine (198.162.0.1) has no response. Any help will be
> gratefully recived.
>
> Thank You.
> Future Winblows Major Style User.


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

Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup
From: "H.T. Sun" <[EMAIL PROTECTED]>
Subject: VPN server for linux
Date: Fri, 28 Apr 2000 21:38:57 GMT

Hi,

 Does anyone know of any VPN (Virtual Private Network) server
 applications for Linux ? Any info. will be very helpful.


 Thanks a million




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

Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup
From: "H.T. Sun" <[EMAIL PROTECTED]>
Subject: VPN server for linux
Date: Fri, 28 Apr 2000 21:39:27 GMT

Hi,

 Does anyone know of any VPN (Virtual Private Network) server
 applications for Linux ? Any info. will be very helpful.


 Thanks a million




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

Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup
From: "H.T. Sun" <[EMAIL PROTECTED]>
Subject: VPN server for linux
Date: Fri, 28 Apr 2000 21:39:11 GMT

Hi,

 Does anyone know of any VPN (Virtual Private Network) server
 applications for Linux ? Any info. will be very helpful.


 Thanks a million




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


** 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.misc) 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-Misc Digest
******************************

Reply via email to