LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ip help (https://www.linuxquestions.org/questions/linux-newbie-8/ip-help-65103/)

Canadian_2k2 06-11-2003 10:33 PM

ip help
 
Please help...
I am trying to get an ipv6 adress
when I run tspc -v I get

# tspc -v
tspc - Tunnel Server Protocol Client

Loading configuration file

Connecting to server

Send request

Process response from server

TSP_HOST_TYPE host
TSP_TUNNEL_INTERFACE sit1
TSP_HOME_INTERFACE
TSP_CLIENT_ADDRESS_IPV4 24.81.80.117
TSP_CLIENT_ADDRESS_IPV6 3ffe:0b80:0003:9769:0000:0000:1851:5075
TSP_SERVER_ADDRESS_IPV4 206.123.31.114
TSP_SERVER_ADDRESS_IPV6 3ffe:0b80:0003:9769:0000:0000:0000:0001
TSP_TUNNEL_PREFIXLEN 128
TSP_VERBOSE 1
TSP_HOME_DIR /etc/freenet6
--- Start of configuration script. ---
Script: setup.sh
sit1 setup
Setting up link to 206.123.31.114
ioctl: No such device
Error while executing /sbin/ip
Command: /sbin/ip tunnel add sit1 mode sit ttl 64 remote 206.123.31.114
Closing, exit status: 0
Exiting with return code : 0 (0 = no error)
#
---------------------
what is ioctl? and should it be sit1? my ethernet device is eth0.....
can somebody please help?

thanx

Mara 06-12-2003 01:51 PM

ioctl is a command to manipulate special files (devices). From the error message it looks that it gets a wrong (not existing) device. My guess is thet there's something wrong in the configuration. Check everything again.

Canadian_2k2 06-12-2003 07:31 PM

There isn't much in the tspc.conf
what should I be looking for?

Mara 06-13-2003 03:36 PM

Quote:

--- Start of configuration script. ---
Script: setup.sh
Frst find the 'setup.sh' script and search for text 'Setting up link to'. The command that gives the error should be near.

Canadian_2k2 06-13-2003 09:11 PM

I found this.....
what is wrong with it?
Display 1 "$TSP_TUNNEL_INTERFACE setup"
Display 1 "Setting up link to $TSP_SERVER_ADDRESS_IPV4"
if [ -x $ipconfig ]; then
Exec $ipconfig tunnel add $TSP_TUNNEL_INTERFACE mode sit ttl 64 remote $TSP_SERVER_ADDRESS_IPV4
else
Exec $ifconfig $TSP_TUNNEL_INTERFACE tunnel ::$TSP_SERVER_ADDRESS_IPV4
fi

thanx


All times are GMT -5. The time now is 05:00 AM.