Linux-Setup Digest #47, Volume #21               Sat, 14 Apr 01 18:13:10 EDT

Contents:
  Samba Client error (Jan-willem De Bleser)
  Samba Client error (Jan-willem De Bleser)
  Re: recognizing SCSI tape *after* boot (Michael Heiming)
  Re: Samba Client error (Michael Heiming)
  Re: Samba Client error (Jan-willem De Bleser)
  Printer under SuSe 7.1 (213.221.75.62 [Heimo])
  Re: 486 help??!!
  local copy for NFS based suse 7.1 installation (Jagged)
  1824 segmentation error on shutdown ("Thomas Mosco")
  Re: #sndconfig - command not found ("Repo")
  Re: #sndconfig - command not found (Jean-David Beyer)
  Routing & Gateway ("" <[EMAIL PROTECTED]>)
  ps -ef display ("Frank P. Troy")
  Re: #sndconfig - command not found ("Anonymous")
  Re: ps -ef display (DVHandorf)
  Re: Samba Client error (Michael Heiming)
  Re: Samba Client error (Jan-willem De Bleser)
  dns update question ("tin")

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

From: Jan-willem De Bleser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Samba Client error
Date: Sat, 14 Apr 2001 19:13:35 GMT

anyone know why I might be getting this error when trying to connect to
a samba server?

added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name debleser<0x20>
startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
file or directory
resolve_hosts: Attempting host lookup for name debleser<0x20>
Connecting to 192.168.0.7 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
read_socket_with_timeout: timeout read. EOF from client.
receive_smb: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to DEBLESER failed (code 0)

Jw


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

From: Jan-willem De Bleser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Samba Client error
Date: Sat, 14 Apr 2001 19:13:35 GMT

anyone know why I might be getting this error when trying to connect to
a samba server?

added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name debleser<0x20>
startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
file or directory
resolve_hosts: Attempting host lookup for name debleser<0x20>
Connecting to 192.168.0.7 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
read_socket_with_timeout: timeout read. EOF from client.
receive_smb: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to DEBLESER failed (code 0)

Jw


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

Date: Sat, 14 Apr 2001 21:31:56 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: recognizing SCSI tape *after* boot

Paul Lew wrote:
> 
> On Wed, 11 Apr 2001 20:11:37 +0200, Michael Heiming <[EMAIL PROTECTED]> wrote:
> > Juergen Pfann wrote:
> >>
> >> Michal Szymanski wrote:
> >> >
> >> > Hi,
> >> >
> >> > (tape drive not detected when powered off during boot)
> >> > Is there a way to "rescan" SCSI bus and get access to such a tape drive
> >> > on Linux when the system is already up and running?
> >> >
> >>
> >> Yes - if you know it, it's quite simple - like always ;-)
> >> This is the command to "enable" my scanner after powering
> >> it on (being at SCSI 0, bus 0, ID 5, LUN 0) :
> >> ---snip
> >> echo "scsi add-single-device 0 0 5 0" >/proc/scsi/scsi
> >> ---snip
> >> That's all about it ! Adjust that to the appropriate ID
> >> of your tape drive (and, of course, with more than 1 HA,
> >> to the resp. HA and bus #s).
> >> If tape support is compiled into the kernel, you should
> >> be able to use your (backup/whatever) SW with the tape
> >> drive. Otherwise, the "st" module will be inserted on
> >> demand - or do "insmod st" manually, just as you please.
> >> To confirm this, you can do a "cat /proc/scsi/scsi",
> >> and watch /var/log/messages for the appropriate syslog
> >> messages.
> >> "Disabling" the device before power-off, if you like to,
> >> is achieved by - you guessed it -
> >> 'echo "scsi remove-single-device X X X X" >/proc/scsi/scsi'
> >> (again, insert SCSI#, bus#, ID, LUN here).
> >> If I needed this often, I'd write a 1- or 2-liner shell
> >> script with that command, and possibly the "insmod st"
> >> afterwards, and call that "tape-on" or something...
> >> I think you got the idea...
> >
> > In addition, the feature works, with my scanner quiet well, however
> > I read somewhere that it's not really recommended to use, you may
> > want to check the info on this, may be someone knows more?
> 
> I had also used that for a cd-writer and tape drive; actually it could
> be used for any scsi device.  Have changed to use "scsiadd" from
> freshbait to do the same and less typing.  The info provided by someelse
> says that one should be careful in that the added/deleted device is not
> in the "middle" of the scsi chain; it is preferred that the device is
> at the end of the chain for "safety".
> 
> I think the safety issue is due to the fact that the default kernel is
> set up with only memory allocations for 2 cdrom/scanner devices; I changed
> the number on my kernel to be (number of devices + 1).  All my external
> scsi devices would be at the end of the chain if only 1 was added and I
> probably need to be careful if I add more than 1 (tape, cdw, scanner).

With my AHA2940 it's suggested to give the controller ID
7 for best performance, this way one should use ID 0 for the Ie.
scanner,
however my cheap crap Mustek scanner, which only does SCSI I and brings
the
whole SCSI Bus to more or less halt if working, only runs with ID 6, but
that
has been no problem until now.

However I would suggest executing "sync" before attaching some device.

Michael Heiming

> >
> > However you should not use insmod, use modprobe instead, there is
> > a file "modules.txt" that comes with every kernel and explains why.
> >
> > Michael Heiming

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

Date: Sat, 14 Apr 2001 21:45:18 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Samba Client error

Jan-willem De Bleser wrote:
> 
> anyone know why I might be getting this error when trying to connect to
> a samba server?

You might?
 
> added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
> Client started (version 2.0.7).
> resolve_lmhosts: Attempting lmhosts lookup for name debleser<0x20>
> startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
> file or directory

cat /etc/lmhosts
# This file provides the same function that the
# lmhosts file does for Windows.
# It provides another way to map netbios names to ip addresses.
# See the section on 'name resolve order' in the manual page to
# smb.conf for more information.
 
# Sample entry:
# 192.168.1.1 samba    

You have no lmhosts file and your samba server seems to be the so called
master browser, but resolving fails too.

Check the man pages on samba and the docs on www.samba.org.

Michael Heiming

> resolve_hosts: Attempting host lookup for name debleser<0x20>
> Connecting to 192.168.0.7 at port 139
> write_socket(3,76)
> write_socket(3,76) wrote 76
> Sent session request
> read_socket_with_timeout: timeout read. EOF from client.
> receive_smb: length < 0!
> client_receive_smb failed
> size=0
> smb_com=0x0
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=0
> smb_flg2=0
> smb_tid=0
> smb_pid=0
> smb_uid=0
> smb_mid=0
> smt_wct=0
> smb_bcc=0
> session request to DEBLESER failed (code 0)
> 
> Jw

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

From: Jan-willem De Bleser <[EMAIL PROTECTED]>
Subject: Re: Samba Client error
Date: Sat, 14 Apr 2001 19:48:08 GMT

It's not the lmhosts file because I can connect to other computers too. below
is the response connecting to a remote computer. The issue seems to be the
line that says "read_socket_with_timeout: timeout read. EOF from client." and
I'm wondering if anyone knows what that means / why it's happening.

Jw

added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name jwalien<0x20>
startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or
directory
resolve_hosts: Attempting host lookup for name jwalien<0x20>
resolve_wins: Attempting wins lookup for name jwalien<0x20>
resolve_wins: WINS server resolution selected and no WINS server present.
resolve_bcast: Attempting broadcast lookup for name jwalien<0x20>
bind succeeded on port 0
nmb packet from 192.168.0.255(137) header: id=8044 opcode=Query(0)
response=No
    header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=JWALIEN<20> q_type=32 q_class=1
Sending a packet of len 50 to (192.168.0.255) on port 137
read_udp_socket: lastip 192.168.0.6 lastport 137 read: 68
parse_nmb: packet id = 8044
Received a packet of len 68 from (192.168.0.6) port 137
nmb packet from 192.168.0.6(137) header: id=8044 opcode=Query(0) response=Yes

    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=JWALIEN<20> rr_type=32 rr_class=1 ttl=300000
    answers   0 char ............   hex 0000C0A80006000001000001
Got a positive name query response from 192.168.0.6 ( 192.168.0.6 1.0.0.1 )
Connecting to 192.168.0.6 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
got smb length of 0
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
 session request ok


Michael Heiming wrote:

> Jan-willem De Bleser wrote:
> >
> > anyone know why I might be getting this error when trying to connect to
> > a samba server?
>
> You might?
>
> > added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
> > Client started (version 2.0.7).
> > resolve_lmhosts: Attempting lmhosts lookup for name debleser<0x20>
> > startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
> > file or directory
>
> cat /etc/lmhosts
> # This file provides the same function that the
> # lmhosts file does for Windows.
> # It provides another way to map netbios names to ip addresses.
> # See the section on 'name resolve order' in the manual page to
> # smb.conf for more information.
>
> # Sample entry:
> # 192.168.1.1 samba
>
> You have no lmhosts file and your samba server seems to be the so called
> master browser, but resolving fails too.
>
> Check the man pages on samba and the docs on www.samba.org.
>
> Michael Heiming
>
> > resolve_hosts: Attempting host lookup for name debleser<0x20>
> > Connecting to 192.168.0.7 at port 139
> > write_socket(3,76)
> > write_socket(3,76) wrote 76
> > Sent session request
> > read_socket_with_timeout: timeout read. EOF from client.
> > receive_smb: length < 0!
> > client_receive_smb failed
> > size=0
> > smb_com=0x0
> > smb_rcls=0
> > smb_reh=0
> > smb_err=0
> > smb_flg=0
> > smb_flg2=0
> > smb_tid=0
> > smb_pid=0
> > smb_uid=0
> > smb_mid=0
> > smt_wct=0
> > smb_bcc=0
> > session request to DEBLESER failed (code 0)
> >
> > Jw


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

From: 213.221.75.62 [Heimo]
Subject: Printer under SuSe 7.1
Date: 14 Apr 2001 18:49:11 GMT


Dear Group,

all over sudden my HP Deskjet 710C doesn't print anymore.
I tried everything I could find in the Handbook but a complete
New-Installation of the System.
Linux is able to send a signal to the printer and it doesn't print.
It's eastertime and the SuSe Support - guys are probably looking for
candy eggs soemwhere.
Can somebody please help ?

Thanks a lot
Heimo

==================================
Poster's IP address: 213.221.75.62
Posted via http://nodevice.com
Linux Programmer's Site

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

From: [EMAIL PROTECTED] ()
Subject: Re: 486 help??!!
Date: Sat, 14 Apr 2001 20:04:48 GMT

On Sat, 14 Apr 2001 17:10:19 GMT, Miguel <[EMAIL PROTECTED]> wrote:
>[posted and mailed]
>
>well i have an old 486 with 8mb ram and a 4go Hd and i wanna know which is 
>the best way to install linux. i dont have any cdrom drive but im on adsl.

Spend the $20 bucks or borrow a cdrom drive.  

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

From: Jagged <[EMAIL PROTECTED]>
Subject: local copy for NFS based suse 7.1 installation
Date: Sat, 14 Apr 2001 22:06:41 +0200

high,

i connected to some mirror ftp site of the suse linux 7.1 distribution,
exported the directory i386, and tried the installation. Mounting the
filesystem worked, but then the setup said: "Image konnte nicht gefunden
werden!" (="Image could not be found!")

I planned to install the basic system first, then make the Linux
DSL-able and install the rest over the Internet later. Thus, i
downloaded only part of the stuff that was found on the FTP server. The
structure I d/l'ed is:

i386
    disks
    docu
        ascii
        Books
        howto  (and all the subdirs)
        wie_geht (and all the subdirs)
    dosutils (and all the subdirs)
    setup
    suse
        a1
        a2
        beo1
        d1
        d2
        d3
        d4
        k2de1
        k2de2
        k2de3
        k2de4
        n1
        n2
        n3
        setup
            descr
            du
            tools

I /l'ed all the files within these directories, but maybe i'm lacking of
the "full-name" and/or "unsorted" directories? I did not download them
because my ftp didn't place links where they should be then, but it
followed the links and grabbed the files they were pointing too... waste
of time and disk space, if you ask me... do i still need those
directories?

Or is there any chance for me to be lucky sooner?

Thanks in advance,
Jagged


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

From: "Thomas Mosco" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: 1824 segmentation error on shutdown
Date: Sat, 14 Apr 2001 20:12:21 GMT

Has anyone had a segmentation error ?
Did you resolve your problem ?
What was the problem ?
How did you detect it ?

I have linux mandrake 7.2 on an AMD K6-300 machine, 64 mb dram (2)memory
sticks.
I was surprised at how SLOW the new system was operating.
It is dual-booted with win98 on hda1 and linux on hdc6, two separate Western
digital 5400 rpm hard drives.

I have in the past installed RedHat 5.0, Mandrake 6.1, and now 7.2 on the
same machine.

I am not able to find in the docs what the 1824 segmentation fault is when
the system shuts down.
It sounds like a dram/cache memory error, which might explain why the system
is so slow.
Mandrake should be able to detect my USR 56K ISA modem (which it used to
detect in previous Mandrake and RedHat installs). It cannot detect the modem
card but the card works fine in WIN98. It's not a winmodem but a real card.
Troubles also with detection of a Creative labs AWE 64 sound card which
again works fine in WIN98.

Could this all be related to the 1824 segmentation error ?
How could I check ?

Thanks for your help.



--
****************************
* Tom M.....                  *
* [EMAIL PROTECTED] *
****************************


begin 666 sostpmY.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..CMS;W-T<&U9#0I&3CIS;W-T
M<&U9#0I%34%)3#M04D5&.TE.5$523D54.G-O<W1P;4!Y86AO;RYC;VT-"E)%
?5CHR,# Q,#0Q-%0R,#$T,#!:#0I%3D0Z5D-!4D0-"@``
`
end


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

From: "Repo" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions,es.comp.os.linux,esp.comp.so.linux,linux.redhat.install
Subject: Re: #sndconfig - command not found
Date: Sat, 14 Apr 2001 22:50:54 +0200

In article <9ba5nn$lnu$[EMAIL PROTECTED]>, "David Mayo"
<[EMAIL PROTECTED]> wrote:

> Hi, newbie here. Recently installed RHL 7 on my Pico laptop (233 MMX)
> Using driver for Yamaha OPL3 - SAx WDM Which works OK for Windows.
> 
> Does anyone understand why I get this message? ie. # sndconfig command
> not found
> 
> NB: when I search for the sndconfig file I find it, so it's there... but
> not working.
> 
> Ta very much. DM
> 
> 

you need to give the whole path:
/usr/sbin/sndconfig
-- 
Repo

RedHat Linux release 7.0 Kernel 2.2.16-22
http://beginnerslinux.org    http://beginnerslinux.saxen.net
 10:50pm  up  2:31,  2 users,  load average: 0.11, 0.12, 0.04

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions,linux.redhat.install
Subject: Re: #sndconfig - command not found
Date: Sat, 14 Apr 2001 17:00:09 -0400

David Mayo wrote:
> 
> Hi, newbie here.
> Recently installed RHL 7 on my Pico laptop (233 MMX)
> Using driver for Yamaha OPL3 - SAx WDM
> Which works OK for Windows.
> 
> Does anyone understand why I get this message?
> ie. # sndconfig
> command not found
> 
> NB: when I search for the sndconfig file I find it, so it's there... but not
> working.
> 
> Ta very much.
> DM

Do not post to so many groups.

Do you know the whereis command? As in:

valinux:jdbeyer[~]$ whereis sndconfig
sndconfig: /usr/sbin/sndconfig /usr/share/sndconfig
/usr/man/man8/sndconfig.8 /usr/man/man8/sndconfig.8.gz
valinux:jdbeyer[~]$ 

This shows you that the command sndconfig is in the /usr/sbin
directory this is not normally in your PATH (no reason for it to be
there except if you are the sysadmin).

So to run it, you would do /usr/sbin/sndconfig

IIRC, this command does not work correctly when running in the X
Window System, nor does it work if you just do an su to become root.

So if you are in X, do

Control-Alt-PF1 and login there as root.

Then do

/usr/sbin/sndconfig

Be sure your speakers are on, as it talks to you.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 4:55pm up 12 days, 23:43, 3 users, load average: 3.99, 3.58,
3.40

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

From: "<toor>" <[EMAIL PROTECTED]>
Subject: Routing & Gateway
Date: Sat, 14 Apr 2001 17:03:11 -0400

I have been trying to produce this table for 2 weeks now!


Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.0       *                  255.255.255.0   U         0          0
0      eth0
127.0.0.0            *                   255.0.0.0           U        0
0       0      lo
default            rcn.rcn.com      0.0.0.0              UG      0
0       0     eth0

*Rcn.rcn.com is my windows proxy machine

What files files should I edit? What should i enter in the terminal? I am
using Debian

Thankyou




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

From: "Frank P. Troy" <[EMAIL PROTECTED]>
Subject: ps -ef display
Date: Sat, 14 Apr 2001 17:13:59 -0400

Hi,

Can someone tell me what will change the display settings when doing ps -ef
to the following form?

  PID TTY STAT  TIME COMMAND
 2979  ?  S    0:00 -bash HOME=/home/frank USER=frank LOGNAME=frank
PATH=/usr/bin:/bin:/usr/local/bin MAIL=/var/spool/mail/frank SH
 3000  ?  R    0:00  \_ ps -ef LESSOPEN=|/usr/bin/lesspipe.sh %s USERNAME=
HISTSIZE=1000 HOSTNAME=troy-net-svr1 LOGNAME=frank SSH_T

as apposed to the traditional.

   PID TT       S  TIME COMMAND
  4194 pts/0    S  0:00 /bin/tcsh
 29177 pts/0    S  5:49 elm/bin/elm
  3554 pts/3    S  0:00 -tcsh
 25251 pts/5    S  0:00 -tcsh
 21040 pts/6    S  0:00 login -p -h ladybird -f claret
 21041 pts/6    S  0:01 -tcsh

Thanks
Frank






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

Reply-To: "Anonymous" <[EMAIL PROTECTED]>
From: "Anonymous" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions,es.comp.os.linux,esp.comp.so.linux,linux.redhat.install
Subject: Re: #sndconfig - command not found
Date: Sat, 14 Apr 2001 21:18:10 GMT

In some cases, sndconfig may not be installed. To install it, insert and
mount the first distro CD. The sndconfig package is usually in the
/RedHat/RPMS directory.

"David Mayo" <[EMAIL PROTECTED]> wrote in message
news:9ba5nn$lnu$[EMAIL PROTECTED]...
> Hi, newbie here.
> Recently installed RHL 7 on my Pico laptop (233 MMX)
> Using driver for Yamaha OPL3 - SAx WDM
> Which works OK for Windows.
>
> Does anyone understand why I get this message?
> ie. # sndconfig
> command not found
>
> NB: when I search for the sndconfig file I find it, so it's there... but
not
> working.
>
> Ta very much.
> DM
>
>
>



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

From: [EMAIL PROTECTED] (DVHandorf)
Date: 14 Apr 2001 21:19:41 GMT
Subject: Re: ps -ef display

try "man ps" without the quotes.  Look through the options.  If that is of no
help, try "info ps".

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

Date: Sat, 14 Apr 2001 23:34:35 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Samba Client error

Jan-willem De Bleser wrote:
> 
> It's not the lmhosts file because I can connect to other computers too. below
> is the response connecting to a remote computer. The issue seems to be the
> line that says "read_socket_with_timeout: timeout read. EOF from client." and
> I'm wondering if anyone knows what that means / why it's happening.
> 
> Jw

This time the host can be looked up cause of a broadcast query.

I would try setting "wins server" (normally not necessary if you are not
working
with subnets) in smb.conf and check man smb.conf for the
"name resolve order" may be there is the problem.

Good luck

Michael Heiming

> 
> added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
> Client started (version 2.0.7).
> resolve_lmhosts: Attempting lmhosts lookup for name jwalien<0x20>
> startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or
> directory
> resolve_hosts: Attempting host lookup for name jwalien<0x20>
> resolve_wins: Attempting wins lookup for name jwalien<0x20>
> resolve_wins: WINS server resolution selected and no WINS server present.
> resolve_bcast: Attempting broadcast lookup for name jwalien<0x20>
> bind succeeded on port 0
> nmb packet from 192.168.0.255(137) header: id=8044 opcode=Query(0)
> response=No
>     header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
>     header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
>     question: q_name=JWALIEN<20> q_type=32 q_class=1
> Sending a packet of len 50 to (192.168.0.255) on port 137
> read_udp_socket: lastip 192.168.0.6 lastport 137 read: 68
> parse_nmb: packet id = 8044
> Received a packet of len 68 from (192.168.0.6) port 137
> nmb packet from 192.168.0.6(137) header: id=8044 opcode=Query(0) response=Yes
> 
>     header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
>     header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
>     answers: nmb_name=JWALIEN<20> rr_type=32 rr_class=1 ttl=300000
>     answers   0 char ............   hex 0000C0A80006000001000001
> Got a positive name query response from 192.168.0.6 ( 192.168.0.6 1.0.0.1 )
> Connecting to 192.168.0.6 at port 139
> write_socket(3,76)
> write_socket(3,76) wrote 76
> Sent session request
> got smb length of 0
> size=0
> smb_com=0x0
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=0
> smb_flg2=0
> smb_tid=0
> smb_pid=0
> smb_uid=0
> smb_mid=0
> smt_wct=0
> smb_bcc=0
>  session request ok
> 
> Michael Heiming wrote:
> 
> > Jan-willem De Bleser wrote:
> > >
> > > anyone know why I might be getting this error when trying to connect to
> > > a samba server?
> >
> > You might?
> >
> > > added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
> > > Client started (version 2.0.7).
> > > resolve_lmhosts: Attempting lmhosts lookup for name debleser<0x20>
> > > startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
> > > file or directory
> >
> > cat /etc/lmhosts
> > # This file provides the same function that the
> > # lmhosts file does for Windows.
> > # It provides another way to map netbios names to ip addresses.
> > # See the section on 'name resolve order' in the manual page to
> > # smb.conf for more information.
> >
> > # Sample entry:
> > # 192.168.1.1 samba
> >
> > You have no lmhosts file and your samba server seems to be the so called
> > master browser, but resolving fails too.
> >
> > Check the man pages on samba and the docs on www.samba.org.
> >
> > Michael Heiming
> >
> > > resolve_hosts: Attempting host lookup for name debleser<0x20>
> > > Connecting to 192.168.0.7 at port 139
> > > write_socket(3,76)
> > > write_socket(3,76) wrote 76
> > > Sent session request
> > > read_socket_with_timeout: timeout read. EOF from client.
> > > receive_smb: length < 0!
> > > client_receive_smb failed
> > > size=0
> > > smb_com=0x0
> > > smb_rcls=0
> > > smb_reh=0
> > > smb_err=0
> > > smb_flg=0
> > > smb_flg2=0
> > > smb_tid=0
> > > smb_pid=0
> > > smb_uid=0
> > > smb_mid=0
> > > smt_wct=0
> > > smb_bcc=0
> > > session request to DEBLESER failed (code 0)
> > >
> > > Jw

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

From: Jan-willem De Bleser <[EMAIL PROTECTED]>
Subject: Re: Samba Client error
Date: Sat, 14 Apr 2001 21:38:08 GMT

ok, i know its not the query because it says it's connecting:
    resolve_hosts: Attempting host lookup for name debleser<0x20>
    Connecting to 192.168.0.7 at port 139
    write_socket(3,76)
It has the correct address because it's connecting to itself so its in the hosts.
the issue is a bit lower down:
    Sent session request
    read_socket_with_timeout: timeout read. EOF from client.
    receive_smb: length < 0!
    client_receive_smb failed

Jw

Michael Heiming wrote:

> Jan-willem De Bleser wrote:
> >
> > It's not the lmhosts file because I can connect to other computers too. below
> > is the response connecting to a remote computer. The issue seems to be the
> > line that says "read_socket_with_timeout: timeout read. EOF from client." and
> > I'm wondering if anyone knows what that means / why it's happening.
> >
> > Jw
>
> This time the host can be looked up cause of a broadcast query.
>
> I would try setting "wins server" (normally not necessary if you are not
> working
> with subnets) in smb.conf and check man smb.conf for the
> "name resolve order" may be there is the problem.
>
> Good luck
>
> Michael Heiming
>
> >
> > added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
> > Client started (version 2.0.7).
> > resolve_lmhosts: Attempting lmhosts lookup for name jwalien<0x20>
> > startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or
> > directory
> > resolve_hosts: Attempting host lookup for name jwalien<0x20>
> > resolve_wins: Attempting wins lookup for name jwalien<0x20>
> > resolve_wins: WINS server resolution selected and no WINS server present.
> > resolve_bcast: Attempting broadcast lookup for name jwalien<0x20>
> > bind succeeded on port 0
> > nmb packet from 192.168.0.255(137) header: id=8044 opcode=Query(0)
> > response=No
> >     header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
> >     header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
> >     question: q_name=JWALIEN<20> q_type=32 q_class=1
> > Sending a packet of len 50 to (192.168.0.255) on port 137
> > read_udp_socket: lastip 192.168.0.6 lastport 137 read: 68
> > parse_nmb: packet id = 8044
> > Received a packet of len 68 from (192.168.0.6) port 137
> > nmb packet from 192.168.0.6(137) header: id=8044 opcode=Query(0) response=Yes
> >
> >     header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
> >     header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
> >     answers: nmb_name=JWALIEN<20> rr_type=32 rr_class=1 ttl=300000
> >     answers   0 char ............   hex 0000C0A80006000001000001
> > Got a positive name query response from 192.168.0.6 ( 192.168.0.6 1.0.0.1 )
> > Connecting to 192.168.0.6 at port 139
> > write_socket(3,76)
> > write_socket(3,76) wrote 76
> > Sent session request
> > got smb length of 0
> > size=0
> > smb_com=0x0
> > smb_rcls=0
> > smb_reh=0
> > smb_err=0
> > smb_flg=0
> > smb_flg2=0
> > smb_tid=0
> > smb_pid=0
> > smb_uid=0
> > smb_mid=0
> > smt_wct=0
> > smb_bcc=0
> >  session request ok
> >
> > Michael Heiming wrote:
> >
> > > Jan-willem De Bleser wrote:
> > > >
> > > > anyone know why I might be getting this error when trying to connect to
> > > > a samba server?
> > >
> > > You might?
> > >
> > > > added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0
> > > > Client started (version 2.0.7).
> > > > resolve_lmhosts: Attempting lmhosts lookup for name debleser<0x20>
> > > > startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
> > > > file or directory
> > >
> > > cat /etc/lmhosts
> > > # This file provides the same function that the
> > > # lmhosts file does for Windows.
> > > # It provides another way to map netbios names to ip addresses.
> > > # See the section on 'name resolve order' in the manual page to
> > > # smb.conf for more information.
> > >
> > > # Sample entry:
> > > # 192.168.1.1 samba
> > >
> > > You have no lmhosts file and your samba server seems to be the so called
> > > master browser, but resolving fails too.
> > >
> > > Check the man pages on samba and the docs on www.samba.org.
> > >
> > > Michael Heiming
> > >
> > > > resolve_hosts: Attempting host lookup for name debleser<0x20>
> > > > Connecting to 192.168.0.7 at port 139
> > > > write_socket(3,76)
> > > > write_socket(3,76) wrote 76
> > > > Sent session request
> > > > read_socket_with_timeout: timeout read. EOF from client.
> > > > receive_smb: length < 0!
> > > > client_receive_smb failed
> > > > size=0
> > > > smb_com=0x0
> > > > smb_rcls=0
> > > > smb_reh=0
> > > > smb_err=0
> > > > smb_flg=0
> > > > smb_flg2=0
> > > > smb_tid=0
> > > > smb_pid=0
> > > > smb_uid=0
> > > > smb_mid=0
> > > > smt_wct=0
> > > > smb_bcc=0
> > > > session request to DEBLESER failed (code 0)
> > > >
> > > > Jw


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

From: "tin" <[EMAIL PROTECTED]>
Subject: dns update question
Date: Sun, 15 Apr 2001 06:01:38 +0800

may i know how to let my slave dns real time update the zone file from my
master DDNS when ip change?




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


** 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.setup.

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-Setup Digest
******************************

Reply via email to