ADSL Internet Sharing

2006-07-16 Thread andreas Sotirakopoulos
Hi,
I have some problems sharing my adsl internet connection
between my FreeBSD 6.0 Box (server) and my Ubuntu 6.0.6
box (client). I use a crossover cable to connect the two PCs and
on the FreeBSD PC I have an onboard network card (fxp0) and 
an wireless card (ural0) and on my Ubuntu box I have one NIC (eth0).

My goal is to have my internet connection shared. The router I use
to have internet access from my BSD box is downstairs so I connect to the 
internet via my wireless card.

The ip address of the router is 192.168.1.1 and of my fxp0 interface
192.168.0.1. Of my eth0 is 192.168.0.2. I have set on Ubuntu as gateway
192.168.0.1 (my BSD box's address).

Also i can ping the two pc from each other, but from ubuntu i cannot ping
the router or any internet address. I have the following to my /etc/rc.conf

gateway_enable=YES
firewall_enable=YES
firewall_type=OPEN
natd_enable=YES
natd_interface=fxp0
natd_flags=

and the option described on the Handbook compiled in the Kernel. What 
i missing?
thanks in advance
andreas Sotirakopoulos


___ 
All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wireless internet connetction issues

2006-05-28 Thread andreas Sotirakopoulos
Hi
I have(?) an internet connetction issue... I have a router connected to a 
windows box downstaires (Lynksis wAG354G) and i use a wirelless usb adapter 
(Lynksis WUSB54G). It works fine under windows and even if some times the 
signal is lost usually it comes back by either moving the antenna a little or 
by restarting the network configuration tool. In FreeBSD the adapter is 
visible and uses ural0 driver. So if give the command 
ifconfig ural0 inet 192.168.1.65 netmask 255.255.255.0 but i cannot connect to 
the internet or see the windows box. 
Now comes the strange part. if i press ifconfig ural0 i get:

ural0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT mtu 
1500
        inet6 fe80::212:17ff:fe81:881a%ural0 prefixlen 64 scopeid 0x1
        ether 00:12:17:81:88:1a
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
        status: associated
        ssid linksys channel 11 bssid 00:14:bf:cb:71:32
        authmode OPEN privacy OFF txpowmax 100 protmode CTS bintval 100
but still i cannot connect to web pages or ping hosts.  I use KDE 3.5 and i do 
the following: 
from the Kmenu -settings-internet and Network- Network settings and on the 
card Network interfaces i see that there is only onde availiable interface 
fxp0 dhcp Disabled Ethernet Network Device. I know that this is my ethernet 
onboard card but if i choose Enable Interface i can connect to the 
internet!! I assume that something runs in the background that enables as 
well my wireless card but what is this?
So what's the problem you may ask... the problem is that in case that my 
connection is lost i cannot do anything to get it back up. 

i  have tried dhclient ural0 and nothing happents same with ifconfig ural0 
up...
I have to reboot and do the procudure again and the problem is that it fails 
often if i leave the net for a while... 

Any ideas?
thanks


___
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange things...

2006-05-27 Thread andreas Sotirakopoulos
Hi
I have(?) an internet connetction issue... I have a router connected to a 
windows box downstaires (Lynksis wAG354G) and i use a wirelless usb adapter 
(Lynksis WUSB54G). It works fine under windows and even if some times the 
signal is lost usually it comes back by either moving the antenna a little or 
by restarting the network configuration tool. In FreeBSD the adapter is 
visible and uses ural0 driver. So if give the command 
ifconfig ural0 inet 192.168.1.65 netmask 255.255.255.0 but i cannot connect to 
the internet or see the windows box. 
Now comes the strange part. if i press ifconfig ural0 i get:

ural0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT mtu 
1500
inet6 fe80::212:17ff:fe81:881a%ural0 prefixlen 64 scopeid 0x1
ether 00:12:17:81:88:1a
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
status: associated
ssid linksys channel 11 bssid 00:14:bf:cb:71:32
authmode OPEN privacy OFF txpowmax 100 protmode CTS bintval 100
but still i cannot connect to web pages or ping hosts.  I use KDE 3.5 and i do 
the following: 
from the Kmenu -settings-internet and Network- Network settings and on the 
card Network interfaces i see that there is only onde availiable interface 
fxp0 dhcp Disabled Ethernet Network Device. I know that this is my ethernet 
onboard card but if i choose Enable Interface i can connect to the 
internet!! I assume that something runs in the background that enables as 
well my wireless card but what is this?
So what's the problem you may ask... the problem is that in case that my 
connection is lost i cannot do anything to get it back up. 

i  have tried dhclient ural0 and nothing happents same with ifconfig ural0 
up...
I have to reboot and do the procudure again and the problem is that it fails 
often if i leave the net for a while... 

Any ideas?
thanks



___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Greek Accents and Filenames

2006-05-25 Thread andreas Sotirakopoulos
HI
I have a problem writing Greek accents in KDE. I am using KDE 3.5 on freebsd 
6.1 and although i can type Greek in all applications i cannot put accents. 
Accents are placed by hitting the ; before the letter. When i do so though 
nothing happen, in fact even the letter is not appearing on the screen.  I 
have tried typing export LC_CTYPE=el_GR on the console and rebooting but then 
when i type locale i get:

 LANG=
LC_CTYPE=C
LC_COLLATE=C
LC_TIME=C
LC_NUMERIC=C
LC_MONETARY=C
LC_MESSAGES=C
LC_ALL=

Moreover although i can read greek on konqueror and opera i cannot do so on 
Kwrite  or i cannot read greek filenames on the desktop, eventhough ei can 
give greek names on files whithout accents ofcourse.

any help would be very apreciated
Thanks
Andreas
Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]