خدمت آقای گلم عرض کنم در دو حالت الف :
javad@javad-desktop:~$ sudo -i
[sudo] password for javad:
root@javad-desktop:~# make install
make: *** No rule to make target `install'. Stop.
و ب :
root@javad-desktop:~#
javad@javad-desktop:~$ cd ~/Desktop
javad@javad-desktop:~/Desktop$ cd ~/Desktop/rp-pppoe-3.5/src
javad@javad-desktop:~/Desktop/rp-pppoe-3.5/src$ ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/dlpi.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for net/if_arp.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for getopt.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for net/bpf.h... (cached) no
checking for netpacket/packet.h... (cached) yes
checking for net/ethernet.h... (cached) yes
checking for asm/types.h... (cached) yes
checking for linux/if_packet.h... (cached) yes
checking for linux/if_ether.h... (cached) yes
checking for linux/if_pppox.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for linux/if.h... (cached) yes
checking for net/if.h... (cached) yes
checking for net/if_dl.h... (cached) no
checking for net/if_ether.h... (cached) no
checking for net/if_types.h... (cached) no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for working const... (cached) yes
checking for pid_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for echo... (cached) /bin/echo
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... no
checking for 8-bit clean memcmp... (cached) yes
checking whether setvbuf arguments are reversed... (cached) no
checking return type of signal handlers... (cached) void
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strerror... (cached) yes
checking for strtol... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking size of unsigned short... (cached) 2
checking size of unsigned int... (cached) 4
checking size of unsigned long... (cached) 4
checking for pppd... (cached) /usr/sbin/pppd
checking for setsid... (cached) /usr/bin/setsid
checking for id... (cached) /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... yes
checking packing order of bit fields... reversed
creating ./config.status
creating Makefile
creating libevent/Makefile
creating ../scripts/adsl-connect
creating ../scripts/adsl-start
creating ../scripts/adsl-stop
creating ../scripts/adsl-init
creating ../scripts/adsl-init-suse
creating ../scripts/adsl-init-turbolinux
creating ../scripts/adsl-setup
creating ../gui/Makefile
creating ../gui/tkpppoe
creating config.h
config.h is unchanged
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay
Type 'make' to compile the software.
javad@javad-desktop:~/Desktop/rp-pppoe-3.5/src$ make
Type 'make install' as root to install the software.
javad@javad-desktop:~/Desktop/rp-pppoe-3.5/src$ make install
Type 'make install' as root to install the software.
mkdir -p /usr/sbin
/usr/bin/install -c -m 755 -s pppoe /usr/sbin
/usr/bin/install: cannot create regular file `/usr/sbin/pppoe': Permission denied
make: *** [install] Error 1
javad@javad-desktop:~/Desktop/rp-pppoe-3.5/src$
امتحان کردم و جوابش رو هم می بینی
سید جان محتویات فایل eciadsl.conf ایناست :
VID1=0915
PID1=8104
VID2=0915
PID2=8104
MODE=LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS
VCI=35
VPI=0
FIRMWARE=/etc/eciadsl/firmware00.bin
SYNCH=/etc/eciadsl/synch01.bin
PPPD_USER=tth1-negar32-2-11a
PPPD_PASSWD=
USE_DHCP=no
USE_STATICIP=no
STATICIP=
GATEWAY=
MODEM=D-Link DSL200 generation III
MODEM_CHIPSET=GS7470
SYNCH_ALTIFACE=0
PPPOECI_ALTIFACE=0
PROVIDER=Other
DNS1=
DNS2=
ضمنا توی این شاخه ها چطوری میشه فایلی کپی کرد ؟
چون توی یکی ازآموزشی ها خوندم اگه مودمم داخل لیست eciadsl نبود درایورش رو از داخل فولدر sync که از سایت eciadsl دانلود کردم به etc\eciadslکپی کنم .اما انگار یه جورایی این شاخه ها write protect هستن !!!