For CentOS6, I have installed keepalived on two machine. When I run "ip addr list eth2" it shows that the virtual is active on both servers. When I turn the firewall off, it works correctly and failover moves the correctly from one machine to another. What port do I need to open?
When I turn the firewall off, I get the correct eded output
[root@usivnprdldbuh003 ~]# ip addr list eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:19:b9:e9:4b:ff brd ff:ff:ff:ff:ff:ff
inet 192.168.201.20/24 brd 192.168.201.255 scope global eth2
inet 192.168.201.10/32 brd 192.168.201.255 scope global eth2
inet6 fe80::219:b9ff:fee9:4bff/64 scope link
valid_lft forever preferred_lft forever
[root@usivnprdldbuh003 ~]#
[root@usivnprdldbuh004 ~]# ip addr list eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:19:b9:e8:f1:c8 brd ff:ff:ff:ff:ff:ff
inet 192.168.201.21/24 brd 192.168.201.255 scope global eth2
inet6 fe80::219:b9ff:fee8:f1c8/64 scope link
valid_lft forever preferred_lft forever
[root@usivnprdldbuh004 ~]#
And everything works. But if I turn on the firewall, I get exactly the same output for both
[root@usivnprdldbuh003 ~]# ip addr list eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:19:b9:e9:4b:ff brd ff:ff:ff:ff:ff:ff
inet 192.168.201.20/24 brd 192.168.201.255 scope global eth2
inet 192.168.201.10/32 brd 192.168.201.255 scope global eth2
inet6 fe80::219:b9ff:fee9:4bff/64 scope link
valid_lft forever preferred_lft forever
[root@usivnprdldbuh003 ~]#
[root@usivnprdldbuh004 ~]# ip addr list eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:19:b9:e8:f1:c8 brd ff:ff:ff:ff:ff:ff
inet 192.168.201.21/24 brd 192.168.201.255 scope global eth2
inet 192.168.201.10/32 brd 192.168.201.255 scope global eth2
inet6 fe80::219:b9ff:fee8:f1c8/64 scope link
valid_lft forever preferred_lft forever
[root@usivnprdldbuh004 ~]#
What port does it use to validate the network device.
hi guys, ive altered the numbers for security but can someone tell me which one of these is my private ip address for this particular computer? im troubleshooting port forwarding and i want to make sure i have the right private ip address. i know the public one already. i used ifconfig to print this out. there are so many addresses that im not sure which is my private one for this particular computer. thanks
Link encap:Local Loopback
inet addr:133.5.7.1 Mask:255.5.6.2
inet6 addr: ::1/144 Scope:Host
UP LOOPBACK RUNNING MTU:44436 Metric:1
RX packets:26824 errors:0 dropped:0 overruns:0 frame:0
TX packets:26824 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3268828 (3.2 MB) TX bytes:3268828 (3.2 MB)
wlan0 Link encap:Ethernet HWaddr 11:1f:8b:a5:98:c2
inet addr:10.1.1.33 Bcast:11.1.1.293 Mask:242.242.242.0
inet6 addr: fe70::23f:7bff:fea9:38c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1800 Metric:1
RX packets:244694 errors:0 dropped:0 overruns:0 frame:0
TX packets:247756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:209624351 (209.6 MB) TX bytes:84885694 (84.8 MB)
Hello
I have problem with creating pptp connection on my centos vps.
VPS is under OpenVZ, so in customer panel i enabled TUN/TAP, PPP and IPSEC.
On my centos 6.5 vps i made changes based on this tutorial
http://www.zedt.eu/tech/linux/settin...os-openvz-vps/
and on windows 7 this
http://www.howtogeek.com/51237/setti...ver-on-debian/
And now, windows 7 is giving me 807 error.
Is this iptables rules are correct ?
Code:
iptables -A INPUT -i venet0 -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -i venet0 -p gre -j ACCEPT
iptables -t nat -A POSTROUTING -j SNAT --to-source [VPS's IP]
iptables -A FORWARD -i ppp0 -o venet0 -j ACCEPT
iptables -A FORWARD -i venet0 -o ppp0 -j ACCEPT
I have no ppp0 interface, and i have additionally vnet0:0 with external ip, and gre0 and gretap0 interfaces.
So ifconfig -a shows:
Code:
[root@vps ~]# ifconfig -a
gretap0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-FF-FF-80-4B-00-00-00-00-00-00-00-00
NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: 2602:ffc5::ffc5:6f61/128 Scope:Global
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:101201 errors:0 dropped:0 overruns:0 frame:0
TX packets:42319 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:131220862 (125.1 MiB) TX bytes:4717867 (4.4 MiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:x.x.x.x P-t-P:x.x.x.x Bcast:x.x.x.x
Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
So is vnet0 should be vnet0:0 ?
And what should be instead of ppp0 interface ?
Hi,
i'm new in kali linux.
i have an issue with the wifi connections.
installing the newwst version of kali from the official website on virtual box.
plug the USB wireless adapter (TP-LINK).
also, i noticed wlan0 on #ifconfig command.
on the network setting configure NAT (also tried with NAT bridged)
my problem is that - i cannot see any wireless networks.
i followed few guides from youtube and here but with no luck.
it show me that i'm wired connected.
i attached screenshot bellow.
please kindly assist me.
additional information:
#airmon-ng start wlan0
when i type #ifconfig, i saw that wlan0 changed to wlan0mon
and with#airodump-ng command on wlan0mon i didn't see any wireless network as well
iwconfig
Quote:
root@kali:~# iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSIDff/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
lo no wireless extensions.
lsmod
Quote:
root@kali:~# lsmod | grep rt
rt2800usb 26222 0
rt2x00usb 17642 1 rt2800usb
rt2800lib 81543 1 rt2800usb
rt2x00lib 46315 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 511777 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 425751 2 mac80211,rt2x00lib
crc_ccitt 12347 1 rt2800lib
parport_pc 26287 0
parport 35699 1 parport_pc
usbcore 199549 7 rt2x00usb,ohci_hcd,ohci_pci,rt2800usb,ehci_hcd,ehci_pci,usbhid
lsusb
Quote:
root@kali:~# lsusb
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
ifconfig
Quote:
root@kali:~# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:dc:d0:01
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fedc:d001/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7485 (7.3 KiB) TX bytes:4163 (4.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1200 (1.1 KiB) TX bytes:1200 (1.1 KiB)
wlan0 Link encap:Ethernet HWaddr 90:f6:52:10:0f:d2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
iw wlan0 info
Quote:
root@kali:~# iw wlan0 info
Interface wlan0
ifindex 4
type managed
wiphy 1
iwlist scan
Quote:
root@kali:~# iwlist scan
eth0 Interface doesn't support scanning.
wlan0 No scan results
lo Interface doesn't support scanning.
uname -a
Quote:
root@kali:~# uname -a
Linux kali 3.18.0-kali3-amd64 #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux
cat /etc/network/interfaces
Quote:
root@kali:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
thanks
Hi.
This is the first time I need to do this. New to Linux... :-)
I need to have two Ethernet connections in my laptop working. Its Ethernet RJ-45 jack works fine. I had to get a new Trendnet USB/Ethernet adapter for the second connection. After I connected it for the first time to my laptop having Fedora 15, I get:
[root@Brcm-AP brcmapac]# tail -f /var/log/messages
Mar 17 05:31:57 Brcm-AP dbus: [system] Successfully activated service 'org.freedesktop.PackageKit'
Mar 17 05:36:58 Brcm-AP kernel: [11429.615508] TCP lp registered
Mar 17 05:42:35 Brcm-AP kernel: [11766.773200] composite sync not supported
Mar 17 05:46:17 Brcm-AP dbus: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Mar 17 05:46:17 Brcm-AP dbus: [system] Successfully activated service 'net.reactivated.Fprint'
Mar 17 05:46:48 Brcm-AP dbus: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Mar 17 05:46:48 Brcm-AP dbus: [system] Successfully activated service 'org.freedesktop.PackageKit'
Mar 17 06:04:07 Brcm-AP kernel: [13058.324180] composite sync not supported
Mar 17 06:04:49 Brcm-AP dbus: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Mar 17 06:04:49 Brcm-AP dbus: [system] Successfully activated service 'net.reactivated.Fprint'
Mar 17 06:06:07 Brcm-AP kernel: [13177.798536] usb 1-5: USB disconnect, address 4
Mar 17 06:06:10 Brcm-AP kernel: [13181.511109] usb 1-5: new high speed USB device using ehci_hcd and address 5
Mar 17 06:06:10 Brcm-AP kernel: [13181.630296] usb 1-5: New USB device found, idVendor=0b95, idProduct=1790
Mar 17 06:06:10 Brcm-AP kernel: [13181.630304] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 17 06:06:10 Brcm-AP kernel: [13181.630311] usb 1-5: Product: AX88179
Mar 17 06:06:10 Brcm-AP kernel: [13181.630316] usb 1-5: Manufacturer: ASIX Elec. Corp.
Mar 17 06:06:10 Brcm-AP kernel: [13181.630320] usb 1-5: SerialNumber: 0000000000103C
Mar 17 06:06:10 Brcm-AP mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5"
Mar 17 06:06:10 Brcm-AP mtp-probe: bus: 1, device: 5 was not an MTP device
Mar 17 06:09:07 Brcm-AP dbus: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Mar 17 06:09:07 Brcm-AP dbus: [system] Successfully activated service 'org.freedesktop.PackageKit'
the output does detect the new USB adapter "Product: AX88179, Manufacturer: ASIX Elec Corp.".
The list of interfaces seen:
[root@Brcm-AP brcmapac]# ifconfig
em1 Link encap:Ethernet HWaddr 00:18:8B:B6:97:4D
inet addr:10.10.138.24 Bcast:10.10.139.255 Mask:255.255.254.0
inet6 addr: fe80::218:8bff:feb6:974d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32846 errors:0 dropped:12285 overruns:0 frame:12
TX packets:15532 errors:0 dropped:0 overruns:0 carrier:0
collisions:5185 txqueuelen:1000
RX bytes:35819763 (34.1 MiB) TX bytes:1346684 (1.2 MiB)
Interrupt:18
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1008 errors:0 dropped:0 overruns:0 frame:0
TX packets:1008 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:78668 (76.8 KiB) TX bytes:78668 (76.8 KiB)
wlan0 Link encap:Ethernet HWaddr 00:1A:92:9FA:A3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
The first connection is em1 and working fine, but I never see a second ethx interface. I figured I'm missing the driver for it. So, I went to the read me file from the cd, where these files a
- asix.h
- ax88179_178a.c
- Makefile
- readme
The readme instructions for Linux say: you need the kernel sources installed on the machine. Make sure the version of the running kernel must match the installed kernel sources.
1. What are kernel sources and how I can download them for this installation? Please, keep in mind I do not know Linux. This is my first time doing more than just the very basics.
The instructions are called "ASIX AX88179_178A USB 3.0/2.0 Gigabit Ethernet Network Adapter Driver Compilation & Configuration on Linux."
My kernel is 2.6.38.6-26.rc1.fc15.i686.PAE
I have no idea how to start.
Thank you!!!
I am totally new to Linux. However, considering the many advantages of the operationg comparing to other OS, i have decided to go ahead with using MINT Rebacca which is the latest version. Initially for some time i did not have any issues in getting my internet connecton. However, for the last one week I am unable to connect through. The results of various terminal commands i applied is given below with a sincere trust somebody would be there to help me out.
-----
anil@anil-HP-15-Notebook-PC ~ $ iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSIDff/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thrff Fragment thrff
Power Managementn
anil@anil-HP-15-Notebook-PC ~ $
anil@anil-HP-15-Notebook-PC ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr f8:a9:63:90:62:b1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:149 errors:0 dropped:0 overruns:0 frame:0
TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10689 (10.6 KB) TX bytes:10689 (10.6 KB)
anil@anil-HP-15-Notebook-PC ~ $
anil@anil-HP-15-Notebook-PC ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr f8:a9:63:90:62:b1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:149 errors:0 dropped:0 overruns:0 frame:0
TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10689 (10.6 KB) TX bytes:10689 (10.6 KB)
anil@anil-HP-15-Notebook-PC ~ $
anil@anil-HP-15-Notebook-PC ~ $ lshw -C network
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: eth0
version: 07
serial: f8:a9:63:90:62:b1
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:57 ioport:4000(size=256) memory:b5600000-b5600fff memory:b5400000-b5403fff
*-network DISABLED
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:0a:00.0
logical name: wlan0
version: 00
serial: 9c:ad:97:5b:16:45
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=3.13.0-37-generic firmware=0.37 latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:16 memory:b5510000-b551ffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
anil@anil-HP-15-Notebook-PC ~ $
anil@anil-HP-15-Notebook-PC ~ $ lshw -C
Hardware Lister (lshw) - B.02.16
usage: lshw [-format] [-options ...]
lshw -version
-version print program version (B.02.16)
format can be
-html output hardware tree as HTML
-xml output hardware tree as XML
-short output hardware paths
-businfo output bus information
options can be
-class CLASS only show a certain class of hardware
-C CLASS same as '-class CLASS'
-c CLASS same as '-class CLASS'
-disable TEST disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST enable a test (like pci, isapnp, cpuid, etc. )
-quiet don't display status
-sanitize sanitize output (remove sensitive information like serial numbers, etc.)
-numeric output numeric IDs (for PCI, USB, etc.)
anil@anil-HP-15-Notebook-PC ~ $
anil@anil-HP-15-Notebook-PC ~ $ rfkill list
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: hp-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
anil@anil-HP-15-Notebook-PC ~ $
anil@anil-HP-15-Notebook-PC ~ $ lsusb
Bus 001 Device 003: ID 0bda:5776 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 002 Device 002: ID 24ae:2000
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
anil@anil-HP-15-Notebook-PC ~ $
anil@anil-HP-15-Notebook-PC ~ $ sudo lsusb
[sudo] password for anil:
Bus 001 Device 003: ID 0bda:5776 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 12d1:1505 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 002 Device 002: ID 24ae:2000
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
anil@anil-HP-15-Notebook-PC ~ $
Wth regards
Anil Kumar
Dear Friends ,
One of My linux server , I have 4 NIC card . I plugged a network cable one of NIC card . Now How can I understand which interface (eth0 or eth1 or eth2 or eth3) is connected with the cable ?
Which command I need to use to find it ?
My second question is :
using 'ethtool ' output I got a line : "Link detected : yes"
what does it means ?
"yum update" command is not working.
IP information and relevant details below:
-------------------------------------------------------------------------
Here is the error message :
yum update
Loaded plugins: fastestmirror, langpacks
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
------------------------------------------------------------------------
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.8.95 netmask 255.255.252.0 broadcast 192.168.11.255
inet6 fe80::20c:29ff:fe4e:58d9 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:4e:58:d9 txqueuelen 1000 (Ethernet)
RX packets 3498 bytes 356084 (347.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1525 bytes 212794 (207.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 22 bytes 2004 (1.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 2004 (1.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
---------------------------------------------------------------------------
Steps taken so far :
1. Change to google DNS -->
2. Edited the CentOS-Base.repo file -->
3. Restarted network services -->
Literally I had search all over the place, till now i could not fix the issue.
Appreciate if someone come forward and help me to rectify this issue.
I'm running VMWare for school. I need to get Fedora 17 to access the internet through the VM for just two assignments and then I can ignore the existence of Linux until I attempt the NOS120 class again. I have been able to get CentOS and every version of Windows online without an issue.
I've tried NAT, I've tried Bridged, I even pushed the Lan Segment, Host Only, and Custom radio buttons just for fun. I know the protocol here is to post a wiki link to a 500 page thread about the essence of the Linux experience. I even opened those and tried to follow along. Then I would try to do the same thing and nothing matched.
If anyone can tell me how to open Konsole on Centos that would be great as well. It might get me one step further. Also, if you guys ever try to work on your own cars and come to a forum that I frequent I promise not to tell you to read the Factory Service Manual instead of just telling you how to unscrew the oil cap. I promise. Especially if you have a Honda or Acura. I will even tell you all of the steps to reset your Maintenance indicator light.
Here is my ifconfig info:
eth0: flags=4099<UP,Broadcast,Multicast> mtu 1500
ether 00:0c:29:f7:d1:c8 txqueuelen 1000 (Ethernet)
RX
RX
TX
TX
device interrupt 19 base 0x2000
lo:flags=73<Up, Loopback, Running> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
look txquelen 0 (Local Loopback)
RX Packets 80 bytes 6744 (6.5 Kib)
RX erros 0
TX packets 80 bytes 6744
TX errors.
I am currently running a Minimal version of Centos 6.6 Ive searched all over the internet to see if anyone has seen this problem before. I can do a iwlist scan wlan0 and see my AP but it will not connect. I have encryption turned off. Ive tried to use a static and DHCP address in the ifcfg-wlan0 file. I used a laptop to verify that I am able to connecto to my AP and get an IP address so I know the AP is functioning properly.
any help would be appreciated.
Thanks
Running Centos 6.6 Minimal
WIadapter : ASUS USB-N13
Ive installed the following:
Wireless-tools
wpa-supplicant
dbus
r8192cu drivers
rtlwifi-firmware
********messages file has the following when I do a ifup wlan0:
[root@localhost log]# tail -f messages
Feb 10 11:46:54 localhost dhclient[1756]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 (xid=0x2a6a01ee)
Feb 10 11:46:54 localhost dhclient[1756]: send_packet: No such device or address
Feb 10 11:47:04 localhost dhclient[1756]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 (xid=0x2a6a01ee)
Feb 10 11:47:04 localhost dhclient[1756]: send_packet: No such device or address
Feb 10 11:47:14 localhost dhclient[1756]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 (xid=0x2a6a01ee)
Feb 10 11:47:14 localhost dhclient[1756]: send_packet: No such device or address
Feb 10 11:47:26 localhost dhclient[1756]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 (xid=0x2a6a01ee)
Feb 10 11:47:26 localhost dhclient[1756]: send_packet: No such device or address
Feb 10 11:47:39 localhost dhclient[1756]: No DHCPOFFERS received.
Feb 10 11:47:39 localhost dhclient[1756]: No working leases in persistent database - sleeping.
Feb 10 11:50:53 localhost dhclient[4075]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 (xid=0x5128c82e)
Feb 10 11:50:58 localhost dhclient[4075]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 (xid=0x5128c82e)
Feb 10 11:51:05 localhost dhclient[4075]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20 (xid=0x5128c82e)
--------------------------------
********When I do a ip link show wlan0:
[root@localhost dispatcher.d]# ip link show wlan0
11: wlan0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether ac:9e:17:5b:9d:8d brd ff:ff:ff:ff:ff:ff
----------------------------------
*********message log when I do a iwlist wlan0 scan:
Feb 10 11:54:21 localhost dhclient[1756]: send_packet: No such device or address
Feb 10 11:54:36 localhost kernel: _rtw_pwr_wakeup call ips_leave....
Feb 10 11:54:36 localhost kernel: ==>ips_leave cnts:1
Feb 10 11:54:36 localhost kernel: ===> rtw_ips_pwr_up..............
Feb 10 11:54:36 localhost kernel: ===> ips_netdrv_open.........
Feb 10 11:54:36 localhost kernel: ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
Feb 10 11:54:36 localhost kernel: FirmwareDownload92C accquire FW from embedded image
Feb 10 11:54:36 localhost kernel: fw_ver=v88, fw_subver=2, sig=0x88c0
Feb 10 11:54:36 localhost kernel: fw download ok!
Feb 10 11:54:36 localhost kernel: Set RF Chip ID to RF_6052 and RF type to 2.
Feb 10 11:54:37 localhost kernel: IQK:Start!!!
Feb 10 11:54:37 localhost kernel: Path A IQK Success!!
Feb 10 11:54:37 localhost kernel: Path B IQK Success!!
Feb 10 11:54:37 localhost kernel: Path A IQK Success!!
Feb 10 11:54:37 localhost kernel: Path B IQK Success!!
Feb 10 11:54:37 localhost kernel: IQK: final_candidate is 0
Feb 10 11:54:37 localhost kernel: IQK: RegE94=fe RegE9C=3ff RegEA4=fd RegEAC=3fa RegEB4=102 RegEBC=b RegEC4=fa RegECC=1
Feb 10 11:54:37 localhost kernel: Path A IQ Calibration Success !
Feb 10 11:54:37 localhost kernel: Path B IQ Calibration Success !
Feb 10 11:54:37 localhost kernel: pdmpriv->TxPowerTrackControl = 1
Feb 10 11:54:37 localhost kernel: rtl8192cu_hal_init in 560ms
Feb 10 11:54:37 localhost kernel: <=== rtw_ips_pwr_up.............. in 569ms
Feb 10 11:54:37 localhost kernel: ==> ips_leave.....LED(0x00028080)...
Feb 10 11:54:38 localhost kernel: survey done event(3a) band:0 for wlan0
Feb 10 11:54:40 localhost dhclient[1756]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 (xid=0x3d6d4ae3)
Feb 10 11:54:40 localhost dhclient[1756]: send_packet: No such device or address
Feb 10 11:54:41 localhost kernel: ==>rtw_ps_processor .fw_state(0)
Feb 10 11:54:41 localhost kernel: ==>ips_enter cnts:2
Feb 10 11:54:41 localhost kernel: ===> rtw_ips_pwr_down...................
Feb 10 11:54:41 localhost kernel: ====> rtw_ips_dev_unload...
Feb 10 11:54:41 localhost kernel: usb_read_port_cancel
Feb 10 11:54:41 localhost kernel: usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
Feb 10 11:54:41 localhost kernel: usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
Feb 10 11:54:41 localhost kernel: usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
Feb 10 11:54:41 localhost kernel: usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
Feb 10 11:54:41 localhost kernel: usb_write_port_cancel
Feb 10 11:54:41 localhost kernel: ==> rtl8192cu_hal_deinit
Feb 10 11:54:41 localhost kernel: bkeepfwalive(0)
Feb 10 11:54:41 localhost kernel: card disble without HWSM...........
Feb 10 11:54:41 localhost kernel: <=== rtw_ips_pwr_down..................... in 30ms
Feb 10 11:54:55 localhost dhclient[1756]: No DHCPOFFERS received.
Feb 10 11:54:55 localhost dhclient[1756]: No working leases in persistent database - sleeping.
-----------------------------------------------------
*********output from iwlist wlan0 scan:
Cell 03 - Address: FC:8F:C4:09:49:5C
ESSID:"ANT"
Protocol:IEEE 802.11b
Mode:Master
Frequency:2.422 GHz (Channel 3)
Encryption keyff
Bit Rates:11 Mb/s
IE: Unknown: DD9E0050F204104A0001101044000102103B0001031047001063041253101920061228FC8FC409495C1021001B5265616C74 656B2053656D69636F6E647563746F7220436F72702E1023000752544C387878781024000D45562D323031302D30392D3230 1042000F3132333435363738393031323334371054000800060050F20400011011000952544B5F41505F3278100800022688 1049000600372A000120
Quality=48/100 Signal level=91/100
---------------------------------------------------------
*******ifcfg-wlan0 ... please note you will see a bunch of #'s just trying different configs:
TYPE=Wireless
DEVICE=wlan0
ESSID=ANT
MODE=Managed
#MODE=Auto
#TYPE=Ethernet
NM_CONTROLLED=no
BOOTPROTO=dhcp
BROADCAST=192.168.100.255
NETMASK=255.255.255.0
IPADDR=192.168.100.10
NETMASK=255.255.255.0
#PREFIX=24
GATEWAY=192.168.100.1
RATE=auto
SECURITYMODE=off
RTS=auto
FRAG=auto
#DEFROUTE=yes
#IPV4_FAILURE_FATAL=yes
#IPV6INIT=no
#NAME=wlan0
UUID=3c9clabd-3ce0-4aea-304a-bf243b69e989
ONBOOT=no
ONHOTPLUG=yes
HWADDR=AC:9E:17:5B:9D:8D
PEERDNS=no
#PEERROUTES=yes
Does it make any difference where a simlink is performed? Will a simlink be global when done in root or /root? Will the simlink be recognized by all users when done in root or /root?
Thanks.