Author Topic: Sane driving me insane  (Read 7578 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Sane driving me insane
« Reply #75 on: April 25, 2013, 08:54:36 pm »
on the client .. what's the output from:
Code: [Select]
ping -c 5 192.168.2.3
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #76 on: April 25, 2013, 08:57:39 pm »
Code: [Select]
chloe@Linux2 ~ $ ping -c 5 192.168.2.3
PING 192.168.2.3 (192.168.2.3) 56(84) bytes of data.
64 bytes from 192.168.2.3: icmp_req=1 ttl=64 time=8.02 ms
64 bytes from 192.168.2.3: icmp_req=2 ttl=64 time=6.33 ms
64 bytes from 192.168.2.3: icmp_req=3 ttl=64 time=4.96 ms
64 bytes from 192.168.2.3: icmp_req=4 ttl=64 time=10.6 ms
64 bytes from 192.168.2.3: icmp_req=5 ttl=64 time=4.42 ms

--- 192.168.2.3 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 4.422/6.884/10.683/2.271 ms
chloe@Linux2 ~ $
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Sane driving me insane
« Reply #77 on: April 25, 2013, 09:01:36 pm »
on the server, send the contents of:
Code: [Select]
gedit /etc/sane.d/saned.conf
again
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #78 on: April 25, 2013, 09:02:59 pm »
Code: [Select]
# saned.conf
# Configuration for the saned daemon

## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.

# data_portrange = 10000 - 10100


## Access list
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.

#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
#[2001:7a8:185e::42:12]
#[2001:7a8:185e::42:12]/64
192.168.255.0/24

# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Sane driving me insane
« Reply #79 on: April 25, 2013, 09:07:42 pm »
Aha .. you removed the wrong line :)

on the server run:
Code: [Select]
sudo gedit /etc/sane.d/saned.conf

change the line that reads

192.168.255.0/24

to

192.168.2.0/24

SAVE the file .. then run:
Code: [Select]
sudo service saned restart

Now try xsane on the client again.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #80 on: April 25, 2013, 09:15:54 pm »
Sorry Mark still no luck :(
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Sane driving me insane
« Reply #81 on: April 25, 2013, 09:17:09 pm »
on the client, now what's the output from:
Code: [Select]
telnet 192.168.2.3 6566
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #82 on: April 25, 2013, 09:18:58 pm »
Code: [Select]
chloe@Linux2 ~ $ telnet 192.168.2.3 6566
Trying 192.168.2.3...
telnet: Unable to connect to remote host: Connection refused
chloe@Linux2 ~ $
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Sane driving me insane
« Reply #83 on: April 25, 2013, 09:20:17 pm »
on the server, send the contents of:
Code: [Select]
gedit /etc/sane.d/saned.conf
again
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #84 on: April 25, 2013, 09:23:53 pm »
Code: [Select]
# saned.conf
# Configuration for the saned daemon

## Daemon options
# Port range for the data connection. Choose a range inside [1024 - 65535].
# Avoid specifying too large a range, for performance reasons.
#
# ONLY use this if your saned server is sitting behind a firewall. If your
# firewall is a Linux machine, we strongly recommend using the
# Netfilter nf_conntrack_sane connection tracking module instead.

# data_portrange = 10000 - 10100


## Access list
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.

#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
#[2001:7a8:185e::42:12]
#[2001:7a8:185e::42:12]/64
192.168.2.0/24

# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Sane driving me insane
« Reply #85 on: April 25, 2013, 09:25:28 pm »
Try rebooting both PC's then see what happens in xsane on the client
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #86 on: April 25, 2013, 09:31:35 pm »
Sorry Mark still no luck


Code: [Select]
chloe@Linux2 ~ $ telnet 192.168.2.3 6566
Trying 192.168.2.3...
telnet: Unable to connect to remote host: Connection refused
chloe@Linux2 ~ $
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14306
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Sane driving me insane
« Reply #87 on: April 25, 2013, 09:35:57 pm »
what does that udev rule read ?
Code: [Select]
gedit /etc/udev/rules.d/90-scanner.rules

may take me a bit to respond .. walking the dog .. back in 15 (ish)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #88 on: April 25, 2013, 09:39:51 pm »
Code: [Select]
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4002", MODE="0664", GROUP="saned", ENV{libsane_matched}="yes"
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2732
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Sane driving me insane
« Reply #89 on: April 25, 2013, 09:53:28 pm »


Would this have anything to do with our problem,  on the output below there is no reference to port 6566 whereas it was listed when we ran the same command earlier on, page 1

Code: [Select]
Starting Nmap 5.21 ( http://nmap.org ) at 2013-04-25 21:46 BST
Nmap scan report for 192.168.2.3
Host is up (0.000022s latency).
Not shown: 996 closed ports
PORT      STATE SERVICE     VERSION
139/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: WORKGROUP)
445/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: WORKGROUP)
631/tcp   open  ipp         CUPS 1.5
10000/tcp open  http        MiniServ 1.610 (Webmin httpd)
|_html-title: Site doesn't have a title (text/html; Charset=iso-8859-1).
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:

If I'm understanding that right, and this is a list of all the open ports then port 6566 isn't one of them
« Last Edit: April 25, 2013, 09:57:59 pm by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal