change max username length

2005-12-17 Thread aksis
Is there a simple was to change the max username length?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New user getting very discouraged with IPv6 problems, cannot get tunnel working completely :(

2005-09-24 Thread aksis
On Friday 23 September 2005 01:08, resonant evil wrote:

 Here are the full tunnel details I was approved for
 Server IPV4 Address: 64.71.128.83 http://64.71.128.83
 Server IPV6 Address: 2001:470:1F01:::DD2/127
 Client IPV4 Address: 70.28.MY.IP
 Client IPV6 Address: 2001:470:1F01:::DD3/127

 in my /etc/rc.conf, I have

 ipv6_enable=YES
 ipv6_gateway_enable=YES

Im using Hurricane Electric as well,
When you login to HE they have a link for an example config generation, this 
is what I used. I had some problems with the handbook as well.

My rc.conf:
... snip ...
gif_interfaces=gif0 gif1  # IPv6 tunnel
gifconfig_gif0=63.226.12.96 64.71.128.82 # IPv4 tunnel for IPv6 tunnel

ipv6_enable=YES# Set to YES to set up for IPv6.
ipv6_network_interfaces=rl0 gif0  # List of network interfaces.
ipv6_defaultrouter=2001:470:1F00:::22E # Set to IPv6 default gateway
ipv6_ifconfig_rl0=2001:470:1F00:379::1 # assigned from my /64to a nic
ipv6_ifconfig_gif0=2001:470:1F00:::22F 2001:470:1F00:::22E prefixlen 
128 --- wrapped, should be on the above line.
... snip ...

My Assigned Prefix: 2001:470:1F00:379::/64

# ifconfig gif0 
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 63.226.12.96 -- 64.71.128.82
inet6 fe80::2c0:f0ff:fe2a:aa7c%gif0 prefixlen 64 scopeid 0x8
  inet6 2001:470:1f00:::22f -- 2001:470:1f00:::22e prefixlen 128 


Is your firewall blocking ipv6?
# /etc/rc.firewall6 open

Don't leave this open after you get the tunnel working.

 That goes off without any errors or anything, and then that guide tells me
 to 'ping6 ff02::1%gif0' and it works perfectly, and I get ping replies, so
 I get REALLY excited. Then, the guide tells me to finish by

ping their ipv6 end point of the tunnel:

# ping6 2001:470:1F01:::DD2 (you sure its /127 and not /128?)

If you don't get replies then there is a problem with the tunnel.

 irc'ing an ipv6 server just resolves the IPV6 address but doesn't actually
 get past the CONNECTING stage

Last I knew, freenode has all HE ipv6 blocked because of abuse. This might 
have been lifted, I don't use ipv6 for irc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New user getting very discouraged with IPv6 problems, cannot get tunnel working completely :(

2005-09-24 Thread aksis
On the HE site, after you login, in the Tunnel Details section, there is an 
option to rebuild the tunnel, this might fix the problem. Beyond that I 
would email HE, send them the relative info and ask them to look at it.

Your side looks correct.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Printing to a Win XP LPD Server from FreeBSD 5.4

2005-09-20 Thread aksis
Hi,

I am having a problem printing to a WinXP (home edition) LPD Server. The 
command:

lptest | lpr -P lp-test

print's to the printer successfuly.

lpr -P lp test.ps

doesn't print anything, but it is sending to the server (see below).

I have tried cups. I have the exact ppd file (ML-1740spl2.ppd)
for the samsung ML-1740 printer, and on the web admin page it shows the 
printer is idle and accepting jobs, the jobs get sent, and it even sounds 
like its getting ready to print.. yet nothing gets printed. :-(

Also kprint (the goal of the whole thing) won't print anything, not even using 
the working 'lp-test' printcap entry. Nor do any of the test printer pages 
get printed, though they are getting spooled on the XP server.

I spent 20+ hours yesterday trying to get this working, but am in need of some  
guidance on this. 

Is anyone successfuly printing to a XP LPD server? 

No I can't hang the printer off the freebsd box. I wish

Here is the system info (if more is need let me know):

FreeBSD 5.4-RELEASE-p7 #1: Fri Sep 16 21:17:44 MST 2005

 /etc/printcap ##
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|PSgs;r=600x600;q=high;c=gray;p=letter;m=auto:\
:lp=:\
:rm=10.0.0.80:\
:rp=printer:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

# working entry
lp-test:\
:sh:\
:rm=10.0.0.80:\
:rp=printer:\
:sd=/var/spool/output/10.0.0.80:\
:lf=/var/log/lpd-errs:

### command output 

[EMAIL PROTECTED]:~/Desktop]:$ lpr test.ps
[EMAIL PROTECTED]:~/Desktop]:$ lpq
vaio.idea-anvil.net: sending to 10.0.0.80
Rank   Owner  Job  Files Total Size
1staksis  15   test.ps   57293 bytes


 Windows XP LPD Server
  Printer \\10.0.0.80\printer

Owner   Status Jobname  Job-IdSize   Pages  Priority

[EMAIL PROTECTED]:~/Desktop]:$ lpq

 Windows XP LPD Server
  Printer \\10.0.0.80\printer

Owner   Status Jobname  Job-IdSize   Pages  Priority

aksis (10.0 Printing  test.ps 45   2663885  0  1

# end #

But nothing gets printed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw + pipe and icmp

2005-04-07 Thread aksis
Hi,

I want to allow *all* icmp traffic on the firewall, but I don't want 
*incoming* traffic to be able to over whelm my connection, so I am going to 
use ipfw pipe.

I just wanted to double check and make sure what I am going to do will work 
the way I think it will:

... snip ...
cmd=ipfw add
oif=tun0
skip=skipto 6
ks=keep-state

#  ping -s 56 -c 10 
# 56 translates into 64 ICMP data bytes when combined with 
# the 8 bytes of ICMP header data, thus for the pipe:
ipfw pipe 1 config bw 640bits/s -- will this and queue need a rule number?
$cmd add queue 1 icmp from any to any in via $oif $ks --  rule number? 
... snip ...
$cmd 100 divert natd ip from any to any in via $pif
$cmd 101 check-state
... snip ...
$cmd 200 add queue 1 icmp from any to any in via $oif $ks
$cmd 201 $skip icmp from any to any out via $pif $ks
$cmd 202 $skip add allow log icmp from any to any $ks
... snip ...
$cmd 5 deny all from any to any
$cmd 6 divert natd ip from any to any out via $pif
$cmd 60010 allow ip from any to any
... snip ...

I belive this will limit all incoming icmp traffic to 640bits/s but not any 
outgoing, or, replys to outgoing thus making icmp flooding imposable. Please 
correct me if I am wrong, (did i form the rules correctly?), or if I should 
go about this another way.

Also, how much bandwidth does a single default sized ping packet consume? 
Should I raise or lower the limit, (I don't want the replies to be false or 
give to much slack)? This is a part that I'm not clear on at all. I don't 
belive more then 10 pings should be considered.

Also, if I start using rules with pipes, will I need to rewrite all the rules 
to use pipes or will only the rules with pipes be limited and everything else 
will operate on default?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linksys WPC11 Wireless Card.

2005-01-12 Thread aksis
On Tuesday 11 January 2005 08:52 am, Walker, Michael wrote:
 Hi

 I apologise for asking this, as I know for a fact this question has been
 asked before, however when searching the archives, I am finding conflicting
 answers.
 I have a Linksys WPC11 Version 4 wireless notebook adapter, and am
 wondering if anyone has successfully set this up using FreeBSD 5.3.
 I have read that Version 4 of the card uses a different chipset to previous
 versions and that this could cause some issues, how true is this?
 Also what options do I need to enable in my custom kernel, I read somewhere
 in the archives that I also need to disable some items in the kernel as
 well, could someone please elaborate?

 Thanks in advance.


 Mick Walker
 NAAFI Finance International

Its working on my 5.3-RELEASE with ndis (aka Project Evil):

man ndis

[EMAIL PROTECTED]:~]:$ pciconf -lv
... snip ...
[EMAIL PROTECTED]:0:0: class=0x02 card=0x00191737 chip=0x818010ec rev=0x20 
hdr=0x00
vendor   = 'Realtek Semiconductor'
device   = 'RTL8180L IEEE 802.11b Wireless MAC and Baseband Processor'
class= network
subclass = ethernet

[EMAIL PROTECTED]:~]:$ ifconfig ndis0
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet a.b.c.d netmask 0x000 broadcast 0.0.0.0
inet6 *%ndis0 prefixlen 64 scopeid 0x5
ether 00:00:00:00:00:00
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
status: associated
ssid ME 1:ME
channel 6 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode ON weptxkey somekey

[EMAIL PROTECTED]:~]:$ ping -c 3 google.com
PING google.com (216.239.57.99): 56 data bytes
64 bytes from 216.239.57.99: icmp_seq=0 ttl=242 time=58.070 ms
64 bytes from 216.239.57.99: icmp_seq=1 ttl=242 time=58.553 ms
64 bytes from 216.239.57.99: icmp_seq=2 ttl=242 time=60.377 ms

--- google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 58.070/59.000/60.377/0.993 ms


When you run 2 battelships into each other, they both sink.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KDE: Konqueror - LAN Browser

2005-01-11 Thread aksis
Hi,

When I use konqueror in su mode, I have access to the +LAN Browser, in the 
side pannel and am able to brows the network, but it is non-existant as a 
normal user. How do I fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE: Konqueror - LAN Browser

2005-01-11 Thread aksis
On Tuesday 11 January 2005 11:35 am, aksis wrote:
 Hi,

 When I use konqueror in su mode, I have access to the +LAN Browser, in
 the side pannel and am able to brows the network, but it is non-existant as
 a normal user. How do I fix this?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

I fixed this. I had to delete ~/.kde
When I restarted xorg it worked.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]