Re: Network configuration

2005-11-19 Thread Michał Masłowski
  - you are NOT trying to get the second PC on the Internet
 
  No, I'm not. The agreement with my ISP doesn't allow to connect more
  than one computer to the WAN.

 LOL ;) I won't condone going against their rules, but that is what NAT
 is for...

  Part of my network's configuration is not in /etc/rc.conf . I have
  there only ifconfig_rl0=DHCP to connect to the Internet. I used
  these commands to configure the LAN:
  #ifconfig rl0 alias 192.168.0.1
  192.168.0.2

 How about:

 # ifconfig rl0 alias 192.168.0.1/24

 I can't remember if /24 will work, if it doesn't:

 # ifconfig rl0 alias 192.168.0.1 255.255.255.0

  On the second PC:
  #ifconfig fxp0 192.168.0.2 192.168.0.1

 and:

 # ifconfig fxp0 192.168.0.2/24

 ...should get you at minimum to see each other.

 ie: from 2nd pc:

 # ping 192.168.0.1

 ...now about that 2 pc's on the Internet thing. I think *almost* all
 ISP's who offer highspeed say that.

 Steve


It works without packet loss. Thank for your advice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network configuration

2005-11-18 Thread Michał Masłowski
I have problems with network configuration of two computers with FreeBSD. One 
has 5.4 and the second has 6.0. Both have Pentium III compatible processors. 
They are both connected to an Ethernet switch.
Computer with 5.4 has access to WAN, but there isn't any access to computer 
with 6.0.
How should I configure LAN between these two computers?
I'd be grateful if you could help me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network configuration

2005-11-18 Thread Michał Masłowski
 # ifconfig
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::20a:cdff:fe01:9350%rl0 prefixlen 64 scopeid 0x1
inet 10.50.93.21 netmask 0xff80 broadcast 10.50.93.127
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.2
ether 00:0a:cd:01:93:50
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 # netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default10.50.93.1 UGS 0 3763rl0
10.50.93/25link#1 UC  00rl0
10.50.93.1 00:50:da:43:23:bc  UHLW1  139rl0735
10.50.93.21127.0.0.1  UGHS00lo0
127.0.0.1  127.0.0.1  UH  18lo0
192.168.0  link#1 UC  00rl0
192.168.0.2ff:ff:ff:ff:ff:ff  UHLWb   0  602rl0

Internet6:
Destination   Gateway   Flags  
Netif Expire
::1   ::1   UH  
lo0
fe80::%rl0/64 link#1UC  
rl0
fe80::20a:cdff:fe01:9350%rl0  00:0a:cd:01:93:50 UHL 
lo0
fe80::%lo0/64 fe80::1%lo0   U   
lo0
fe80::1%lo0   link#3UHL 
lo0
ff01::/32 ::1   U   
lo0
ff02::%rl0/32 link#1UC  
rl0
ff02::%lo0/32 ::1   UC  
lo0

On the second computer (with 6.0):
#ifconfig
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.0.2 net mask 0xff00 broadcast 192.168.0.255
ether 00:04:23:13:ba:aa
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
#netstat -rn
Routing tables

Internet:
Destination   Gateway   Flags  
Netif Expire
default  192.168.0.1   UGS
fxp0
192.168.0  link#1   UC
fxp0
192.168.0.1   00:0a:cd:01:93:50 UHLW
fxp0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network configuration

2005-11-18 Thread Michał Masłowski
 Ok, I have to assume some things here, correct me if I'm wrong:

 - both PC's are plugged into a switch/hub
They are.
 - your routers LAN IP address is 10.50.93.1
10.50.93.127 is my WAN's broadcast address.
 - you are NOT trying to get the second PC on the Internet
No, I'm not. The agreement with my ISP doesn't allow to connect more than one 
computer to the WAN.

 Now, I don't want to just give you my first advice, as I don't fully
 understand your methods here, so please post the relevant portions of
 /etc/rc.conf in relation to the network configuration. We'll then go
 from there.

 Steve

Part of my network's configuration is not in /etc/rc.conf . I have there only 
ifconfig_rl0=DHCP to connect to the Internet. I used these commands to 
configure the LAN:
#ifconfig rl0 alias 192.168.0.1 192.168.0.2

On the second PC:
#ifconfig fxp0 192.168.0.2 192.168.0.1

It's based on this, what is in the Handbook about IPv4 networks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTK interfaces in KDE

2005-11-13 Thread Michał Masłowski
 Hi,
 I run 5.4 stable with xorg 6.8.2 and kde 3.4.0. I also use quite a few
 apps with a rather dull looking GTK interface. I know that GTK
 interfaces pick up the desktop themes under Gnome. Is there any way of
 applying a theme to GTK interfaces under kde, either the kde theme
 itself or a Gnome theme in any way ?
 Thanks,
 Edward

Use x11-themes/gtk-qt-engine to use KDE theme with GTK.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems on start of my system

2005-11-05 Thread Michał Masłowski
 ad0: FAILURE - READ-DMA status=51READ,DSC,ERROR ERROR=40UNCORRECTABLE
 LBA=2398527
[...]
 panic: vrele: negative refe cnt
 cannot dump: no dump device defined

It is caused by unmounting file systems with i/o errors. If your disk cannot 
remap faulty sectors, you should buy new disk. Usually `fsck -y` should help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd / FireFox / Macromedia Flash : The Quest

2005-10-31 Thread Michał Masłowski
 Question is this : Why don't 'we' have a Freebsd native flash plugin and we
 need to run Linux compat stuff ?
 Is it a Macromedia Licence issue?
 Is it a Firefox issue ?
 Is it a freebsd team thing?

It's a Macromedia Licence issue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bash Pattern Matching Syntax

2005-10-23 Thread Michał Masłowski
 I want to list the files in a directory that end in .jpg irregardless
 of case.  Thus after reading the bash man page, it seems I should be
 able to issue a command something along the lines of ls [*.[JjPpGg]]
 or ls *.[JjPpGg] but neither of these work and return a No such file
 or directory message.  I've also tried various ways of  escaping the
 '*' and '. but that didn't help either.  However ls *[JjPpGg] does
 work by listing the files.  However I want to match the . before jpg
 as well.  What is the correct syntax for what I'm trying to do?

 Thanks,

 Drew

ls *.{JPG,jpg}
or
ls *.{J,j}{P,p}{G,g}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Difficulties to launch KDE

2005-10-23 Thread Michał Masłowski
 Hello:

 I am sure you will find my problem quite easy. I just installed FreeBSD
 5.4, and I configured KDE and related configurations according with the
 handbook. My .xinitrc file contains only the line: echo exec startkde.
 When I type startx everything seems to be well, but KDE doesn't start.
 There are no errors reported or anything pointing to the problem, except a
 line at the end which reads:

 xauth: (argv):1:  bad display name Monique.gateway.2wire.net:0 in
 remove command

 I am behind a wireless modem-router with domain name gateway.2wire.net.

 I do not know what command remove is referred here or where it occurs,
 and how to fix it. No entry like this in xorg.conf.

 I will appreciate any help.

 Teilhard.

Do you have exec startkde in .xinitrc ?
echo exec startkde is used to put it in a file.

If this problem still occurs, read startx's man page.

I don't know anything about xauth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot view pdf in browser ...

2005-10-07 Thread Michał Masłowski
 If I click on a link referring to a PDF file, nothing happens, e.g. I
 get a blank page is all.

 This occurs for Firefox as well as Epiphany.

 Why?

Do you have acroread? and linuxpluginwrapper installed?
If yes, have you changed /etc/libmap.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hidden spot on hard drives?

2005-10-05 Thread Michał Masłowski
 : # dd if=/dev/zero of=/dev/zero
 :
 : Will overwrite the entire drive.

I thought that value of 'of' is device on which the drive is.
Reads from /dev/zero give zeroes and writes to it do nothing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hidden spot on hard drives?

2005-10-05 Thread Michał Masłowski
 I seem to remember some software put it's license key in the boot sector
 (this was way back when and I might be not remembering correctly).  But
 even that can be read using dd...  not sure how I'd do it with windows,
 but I'm sure it's possible.

It's impossible with Windows NT, but possible with any MSDOS-based Windows.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vrele: negative ref cnt

2005-10-01 Thread Michał Masłowski
When I turn off the computer by halt, halt -p or something else, usually it 
shows kernel panic with vrele: negative ref cnt. What should I do?
I'm using FreeBSD 5.4-p7.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick TTY Question

2005-09-30 Thread Michał Masłowski
On Friday 30 of September 2005 19:18, RW wrote:
 On Wednesday 28 September 2005 03:41, Eric Murphy wrote:
  I have gdm set in /etc/ttys instead of xdm...

 I don't use GDM and I don't know if this is the cause of the problem, but:

 From: /usr/ports/UPDATING

 20050411:
   AFFECTS: users of x11/gdm
   AUTHOR: [EMAIL PROTECTED]

   GDM now installs a rcNG script for starting the gdm daemon.
   To enable that gdm starts a boot time, add the following to /etc/rc.conf:

   gdm_enable=YES

If you don't use GDM, it won't affect you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring sound

2005-09-26 Thread Michał Masłowski
 maybe you should change rec's value to something bigger..

But it said that the recording source is mic.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cleanup unused files and other junk ...

2005-09-26 Thread Michał Masłowski
 Is there a good and dependable procedure for cleaning up the file
 systems from unused junk that just clutters valuable disc space?

 I am already aware of the 'periodic daily' scripts
 'clear_tmp_enable=YES' option for the rc.conf file, but where else can
 one safely remove files.

 For example, is it safe to delete all distfiles?

From hier(7):
/tmp/  temporary files that are not guaranteed to persist across sys-
tem reboots,
so clearing /tmp is safe for files not used after last boot.

Deleting distfiles is safe if they aren't used.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring sound

2005-09-25 Thread Michał Masłowski
 try running
 /usr/sbin/mixer
 from your shell/xterm ;)

$ /usr/sbin/mixer
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  80:80
Mixer speaker  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to 100:100
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to   0:0
Mixer ogainis currently set to  50:50
Mixer line1is currently set to  75:75
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Mixer videois currently set to  75:75
Recording source: mic
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Configuring sound

2005-09-24 Thread Michał Masłowski
I have problems with sound configuration. I've tried this:
#kldload sound
#kldload snd_ich

Output worked, but I didn't hear anything recorded from input.
I'd like to use Skype (with /dev/dsp), but its impossible without working 
sound input.
What shall I do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]