Net Hook driver

Hi;
I'm trying to port a Linux Kernel Module we wrote to Solaris 10.
The modules uses the Linux Netfilter Hooks to do packet manipulations before they get to the application.
Is there a similar way in Solaris 10 to filter/manipulate tcp/ip packets ?
I need something similar to the :
Pre-Routing
Local
Forward
Post-routing
Hooks that I get from the netfilter interface in the Linux Kernel
But anything similar that let me filter / change packet will be ok
Thanks

Hello,
<br><br>
the STREAMs between IP<->TCP (lately IP<->UDP) was removed in Sol10, you can add streams below IP (like IpFilter). New architecture (FireEngine) whitepaper is here . There was also xpert discussion. Some book, presentation, previous discuss or blogs 1 + 2 maybe usefull.
<br><br>M.C>

Similar Messages

  • WARNING with latest kernel: at net/mac80211/driver-ops.

    Hi. i'm running the latest kernel and having many kernel oops like the attached, any ideas? is this a problem already in upstream? should I open a bug report in archlinux? I'm thinking to switch to LTS.
    TIA.
    Linux (archlinux) 3.3.5-1-ARCH #1 SMP PREEMPT Mon May 7 19:57:51 CEST 2012 x86_64 AMD Turion(tm) 64 X2 TL-60 AuthenticAMD GNU/Linux
    May 12 19:43:29 localhost kernel: [11420.744876] WARNING: at net/mac80211/driver-ops.h:10 __sta_info_destroy+0x582/0x590 [mac80211]()
    May 12 19:43:29 localhost kernel: [11420.744878] Hardware name: HP Pavilion dv2700 Notebook PC
    May 12 19:43:29 localhost kernel: [11420.744879] Modules linked in: tun ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables fuse usbhid hid uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev v4l2_compat_ioctl32 rt2800usb rt2x00usb rt2800lib rt2x00lib crc_ccitt media snd_hda_codec_conexant arc4 b43 joydev bcma snd_hda_intel snd_hda_codec snd_hwdep mac80211 cfg80211 hp_wmi snd_pcm snd_page_alloc r852 snd_timer sm_common nand snd nand_ecc nand_ids mtd firewire_ohci soundcore ohci_hcd sparse_keymap rfkill ehci_hcd firewire_core ssb usbcore sdhci_pci edac_mce_amd sdhci r592 forcedeth edac_core memstick kvm_amd pcmcia pcmcia_core i2c_nforce2 serio_raw mmc_core usb_common crc_itu_t evdev kvm psmouse thermal battery ac wmi video nvidia(PO) button i2c_core k8temp powernow_k8 mperf processor ext4 crc16 jbd2 mbcache sr_mod cdrom sd_mod pata_acpi pata_amd ahci libahci ata_generic libata scsi_mod
    May 12 19:43:29 localhost kernel: [11420.744951] Pid: 3107, comm: kworker/u:50 Tainted: P W O 3.3.5-1-ARCH #1
    May 12 19:43:29 localhost kernel: [11420.744953] Call Trace:
    May 12 19:43:29 localhost kernel: [11420.744956] [<ffffffff8104f85f>] warn_slowpath_common+0x7f/0xc0
    May 12 19:43:29 localhost kernel: [11420.744959] [<ffffffff8104f8ba>] warn_slowpath_null+0x1a/0x20
    May 12 19:43:29 localhost kernel: [11420.744967] [<ffffffffa127e292>] __sta_info_destroy+0x582/0x590 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.744975] [<ffffffffa127e3de>] sta_info_flush+0x5e/0x90 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.744984] [<ffffffffa128c4ec>] ieee80211_mgd_deauth+0x57c/0x590 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.744994] [<ffffffffa1294ebe>] ieee80211_deauth+0x1e/0x20 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.745002] [<ffffffffa1259bba>] __cfg80211_mlme_deauth+0x11a/0x130 [cfg80211]
    May 12 19:43:29 localhost kernel: [11420.745009] [<ffffffffa125d446>] __cfg80211_disconnect+0xf6/0x1d0 [cfg80211]
    May 12 19:43:29 localhost kernel: [11420.745015] [<ffffffffa123f18e>] cfg80211_netdev_notifier_call+0x16e/0x5f0 [cfg80211]
    May 12 19:43:29 localhost kernel: [11420.745019] [<ffffffff811da870>] ? sysfs_addrm_finish+0x90/0xc0
    May 12 19:43:29 localhost kernel: [11420.745022] [<ffffffff811d0000>] ? mem_write+0x20/0x20
    May 12 19:43:29 localhost kernel: [11420.745025] [<ffffffff8142c57d>] ? packet_notifier+0xbd/0x1e0
    May 12 19:43:29 localhost kernel: [11420.745029] [<ffffffff81077a6d>] notifier_call_chain+0x4d/0x70
    May 12 19:43:29 localhost kernel: [11420.745033] [<ffffffff81077b3e>] __raw_notifier_call_chain+0xe/0x10
    May 12 19:43:29 localhost kernel: [11420.745036] [<ffffffff81077b56>] raw_notifier_call_chain+0x16/0x20
    May 12 19:43:29 localhost kernel: [11420.745040] [<ffffffff81361bd6>] call_netdevice_notifiers+0x36/0x60
    May 12 19:43:29 localhost kernel: [11420.745044] [<ffffffff81361c3d>] __dev_close_many+0x3d/0xd0
    May 12 19:43:29 localhost kernel: [11420.745047] [<ffffffff81361dc0>] dev_close_many+0xa0/0x110
    May 12 19:43:29 localhost kernel: [11420.745051] [<ffffffff81361f18>] rollback_registered_many+0xe8/0x260
    May 12 19:43:29 localhost kernel: [11420.745055] [<ffffffff813620ab>] unregister_netdevice_many+0x1b/0x80
    May 12 19:43:29 localhost kernel: [11420.745064] [<ffffffffa128fa30>] ieee80211_remove_interfaces+0xd0/0x110 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.745072] [<ffffffffa1279133>] ieee80211_unregister_hw+0x53/0x120 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.745077] [<ffffffffa13c2ee9>] rt2x00lib_remove_dev+0x149/0x180 [rt2x00lib]
    May 12 19:43:29 localhost kernel: [11420.745081] [<ffffffffa13e217b>] rt2x00usb_disconnect+0x3b/0x80 [rt2x00usb]
    May 12 19:43:29 localhost kernel: [11420.745089] [<ffffffffa10561e0>] usb_unbind_interface+0x50/0x180 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.745094] [<ffffffff8130ac2c>] __device_release_driver+0x7c/0xe0
    May 12 19:43:29 localhost kernel: [11420.745107] [<ffffffff8130acbc>] device_release_driver+0x2c/0x40
    May 12 19:43:29 localhost kernel: [11420.745114] [<ffffffffa10563a0>] usb_driver_release_interface+0x90/0xa0 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.745121] [<ffffffffa10563d9>] usb_rebind_intf+0x29/0x70 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.745127] [<ffffffffa1049120>] ? usb_dev_thaw+0x20/0x20 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.745134] [<ffffffffa1056693>] usb_resume+0x103/0x110 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.745140] [<ffffffffa1049120>] ? usb_dev_thaw+0x20/0x20 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.745146] [<ffffffffa1049133>] usb_dev_resume+0x13/0x20 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.745150] [<ffffffff81311ccb>] dpm_run_callback.isra.4+0x3b/0x70
    May 12 19:43:29 localhost kernel: [11420.745154] [<ffffffff81312538>] device_resume+0xa8/0x160
    May 12 19:43:29 localhost kernel: [11420.745157] [<ffffffff81312611>] async_resume+0x21/0x50
    May 12 19:43:29 localhost kernel: [11420.745161] [<ffffffff810795ce>] async_run_entry_fn+0x7e/0x170
    May 12 19:43:29 localhost kernel: [11420.745164] [<ffffffff8106be9a>] process_one_work+0x12a/0x440
    May 12 19:43:29 localhost kernel: [11420.745167] [<ffffffff81079550>] ? async_schedule+0x20/0x20
    May 12 19:43:29 localhost kernel: [11420.745171] [<ffffffff8106c6fe>] worker_thread+0x12e/0x2d0
    May 12 19:43:29 localhost kernel: [11420.745174] [<ffffffff8106c5d0>] ? manage_workers.isra.25+0x1f0/0x1f0
    May 12 19:43:29 localhost kernel: [11420.745177] [<ffffffff81071bc3>] kthread+0x93/0xa0
    May 12 19:43:29 localhost kernel: [11420.745181] [<ffffffff81461224>] kernel_thread_helper+0x4/0x10
    May 12 19:43:29 localhost kernel: [11420.745185] [<ffffffff81071b30>] ? kthread_freezable_should_stop+0x70/0x70
    May 12 19:43:29 localhost kernel: [11420.745188] [<ffffffff81461220>] ? gs_change+0x13/0x13
    May 12 19:43:29 localhost kernel: [11420.745190] ---[ end trace b60f6f3c060f533a ]---
    May 12 19:43:29 localhost kernel: [11420.748917] cfg80211: Calling CRDA to update world regulatory domain
    May 12 19:43:29 localhost kernel: [11420.755550] ------------[ cut here ]------------
    May 12 19:43:29 localhost kernel: [11420.755562] WARNING: at net/mac80211/driver-ops.h:10 ieee80211_do_stop+0x67c/0x6a0 [mac80211]()
    May 12 19:43:29 localhost kernel: [11420.755564] Hardware name: HP Pavilion dv2700 Notebook PC
    May 12 19:43:29 localhost kernel: [11420.755566] Modules linked in: tun ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables fuse usbhid hid uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev v4l2_compat_ioctl32 rt2800usb rt2x00usb rt2800lib rt2x00lib crc_ccitt media snd_hda_codec_conexant arc4 b43 joydev bcma snd_hda_intel snd_hda_codec snd_hwdep mac80211 cfg80211 hp_wmi snd_pcm snd_page_alloc r852 snd_timer sm_common nand snd nand_ecc nand_ids mtd firewire_ohci soundcore ohci_hcd sparse_keymap rfkill ehci_hcd firewire_core ssb usbcore sdhci_pci edac_mce_amd sdhci r592 forcedeth edac_core memstick kvm_amd pcmcia pcmcia_core i2c_nforce2 serio_raw mmc_core usb_common crc_itu_t evdev kvm psmouse thermal battery ac wmi video nvidia(PO) button i2c_core k8temp powernow_k8 mperf processor ext4 crc16 jbd2 mbcache sr_mod cdrom sd_mod pata_acpi pata_amd ahci libahci ata_generic libata scsi_mod
    May 12 19:43:29 localhost kernel: [11420.755625] Pid: 3107, comm: kworker/u:50 Tainted: P W O 3.3.5-1-ARCH #1
    May 12 19:43:29 localhost kernel: [11420.755627] Call Trace:
    May 12 19:43:29 localhost kernel: [11420.755630] [<ffffffff8104f85f>] warn_slowpath_common+0x7f/0xc0
    May 12 19:43:29 localhost kernel: [11420.755633] [<ffffffff8104f8ba>] warn_slowpath_null+0x1a/0x20
    May 12 19:43:29 localhost kernel: [11420.755643] [<ffffffffa129041c>] ieee80211_do_stop+0x67c/0x6a0 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.755646] [<ffffffff81382599>] ? dev_deactivate_many+0x209/0x260
    May 12 19:43:29 localhost kernel: [11420.755656] [<ffffffffa129045a>] ieee80211_stop+0x1a/0x20 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.755660] [<ffffffff81361c85>] __dev_close_many+0x85/0xd0
    May 12 19:43:29 localhost kernel: [11420.755664] [<ffffffff81361dc0>] dev_close_many+0xa0/0x110
    May 12 19:43:29 localhost kernel: [11420.755668] [<ffffffff81361f18>] rollback_registered_many+0xe8/0x260
    May 12 19:43:29 localhost kernel: [11420.755672] [<ffffffff813620ab>] unregister_netdevice_many+0x1b/0x80
    May 12 19:43:29 localhost kernel: [11420.755681] [<ffffffffa128fa30>] ieee80211_remove_interfaces+0xd0/0x110 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.755689] [<ffffffffa1279133>] ieee80211_unregister_hw+0x53/0x120 [mac80211]
    May 12 19:43:29 localhost kernel: [11420.755694] [<ffffffffa13c2ee9>] rt2x00lib_remove_dev+0x149/0x180 [rt2x00lib]
    May 12 19:43:29 localhost kernel: [11420.755699] [<ffffffffa13e217b>] rt2x00usb_disconnect+0x3b/0x80 [rt2x00usb]
    May 12 19:43:29 localhost kernel: [11420.755708] [<ffffffffa10561e0>] usb_unbind_interface+0x50/0x180 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.755713] [<ffffffff8130ac2c>] __device_release_driver+0x7c/0xe0
    May 12 19:43:29 localhost kernel: [11420.755717] [<ffffffff8130acbc>] device_release_driver+0x2c/0x40
    May 12 19:43:29 localhost kernel: [11420.755724] [<ffffffffa10563a0>] usb_driver_release_interface+0x90/0xa0 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.755731] [<ffffffffa10563d9>] usb_rebind_intf+0x29/0x70 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.755737] [<ffffffffa1049120>] ? usb_dev_thaw+0x20/0x20 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.755744] [<ffffffffa1056693>] usb_resume+0x103/0x110 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.755750] [<ffffffffa1049120>] ? usb_dev_thaw+0x20/0x20 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.755757] [<ffffffffa1049133>] usb_dev_resume+0x13/0x20 [usbcore]
    May 12 19:43:29 localhost kernel: [11420.755761] [<ffffffff81311ccb>] dpm_run_callback.isra.4+0x3b/0x70
    May 12 19:43:29 localhost kernel: [11420.755765] [<ffffffff81312538>] device_resume+0xa8/0x160
    May 12 19:43:29 localhost kernel: [11420.755769] [<ffffffff81312611>] async_resume+0x21/0x50
    May 12 19:43:29 localhost kernel: [11420.755772] [<ffffffff810795ce>] async_run_entry_fn+0x7e/0x170
    May 12 19:43:29 localhost kernel: [11420.755776] [<ffffffff8106be9a>] process_one_work+0x12a/0x440
    May 12 19:43:29 localhost kernel: [11420.755779] [<ffffffff81079550>] ? async_schedule+0x20/0x20
    May 12 19:43:29 localhost kernel: [11420.755783] [<ffffffff8106c6fe>] worker_thread+0x12e/0x2d0
    May 12 19:43:29 localhost kernel: [11420.755786] [<ffffffff8106c5d0>] ? manage_workers.isra.25+0x1f0/0x1f0
    May 12 19:43:29 localhost kernel: [11420.755790] [<ffffffff81071bc3>] kthread+0x93/0xa0
    May 12 19:43:29 localhost kernel: [11420.755793] [<ffffffff81461224>] kernel_thread_helper+0x4/0x10
    May 12 19:43:29 localhost kernel: [11420.755797] [<ffffffff81071b30>] ? kthread_freezable_should_stop+0x70/0x70
    May 12 19:43:29 localhost kernel: [11420.755801] [<ffffffff81461220>] ? gs_change+0x13/0x13
    May 12 19:43:29 localhost kernel: [11420.755803] ---[ end trace b60f6f3c060f533b ]---

    unload nvidia module and then load did.
    rmmod nvidia && modprobe nvidia
    Next time pay attention of pacman message:
    In order to use the new nvidia module, exit Xserver and unload it manually.
    Last edited by wonder (2008-07-12 13:35:14)

  • Net attached driver backup by rman

    Hi Experts,
    For space issue, I try to back up at net attached driver Z from local driver D.
    I configraure net driver in rmam. it works.But i got below message when I take a full back up .
    RMAN> CONFIGURE CHANNEL DEVICE TYPE disk format 'Z:\Oraclebackup\SALE\exports\RM
    AN\%U';
    old RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\Oraclebackup\SALE\exports\RMAN\%
    U';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'Z:\Oraclebackup\SALE\exports\RMAN\%
    U';
    new RMAN configuration parameters are successfully stored
    RMAN> run {
    2> show all;
    3> crosscheck backup;
    4> crosscheck archivelog all;
    5> delete noprompt obsolete;
    6> delete NOPROMPT FORCE obsolete
    7> CONFIGURE CHANNEL DEVICE TYPE disk format 'Z:\Oraclebackup\SALE\exports\RMAN\
    %U';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "configure": expecting one of: "device, high, or
    phan, redundancy, recovery, ;, until"
    RMAN-01007: at line 7 column 1 file: standard input
    RMAN> backup AS COMPRESSED BACKUPSET tag =sysdate database plus archivelog del
    ete input;
    Starting backup at 15-JAN-09
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=145 devtype=DISK
    channel ORA_DISK_1: starting compressed archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=6868 recid=5481 stamp=676196350
    input archive log thread=1 sequence=6876 recid=5489 stamp=676199767
    input archive log thread=1 sequence=6877 recid=5490 stamp=676200241
    channel ORA_DISK_1: starting piece 1 at 15-JAN-09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 01/15/2009 16:37:28
    ORA-19504: failed to create file "Z:\ORACLEBACKUP\SALE\EXPORTS\RMAN\7VK4SP66_1_1
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    RMAN> }
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "}": expecting one of: "allocate, alter, backup,
    beginline, blockrecover, catalog, change, connect, copy, convert, create, cross
    check, configure, duplicate, debug, delete, drop, exit, endinline, flashback, ho
    st, {, library, list, mount, open, print, quit, recover, register, release, repl
    ace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setli
    mit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade
    , unregister, validate"
    RMAN-01007: at line 1 column 1 file: standard input
    Thanks,
    Jim

    It looks like missing the end of the command line 6, a semicolon.
    6> delete NOPROMPT FORCE obsoletetry:
    6> delete NOPROMPT FORCE obsolete;

  • Using the mkinitcpio net hook confuses netcfg

    Hello everybody.
    I am currently trying to build a headless Linux home server, and I decided to try out Arch.
    The server has an encrypted root file system by means of having a plain-text /boot 1st partition and having the / file system on a 2nd LUKS partition.
    For starters I used the mkinitcpio hooks "keymap keyboard encrypt", with the appropriate "cryptdevice=..." and "root=..." kernel parameters to make the server prompt me for the pass phrase in early user space, which works nicely.
    As this thing is supposed to become a headless system I then tried to set it up in a way that enables me to open an SSH connection into the early user space and supply the pass phrase from there, using dropbear_initrd_encrypt. And it works! This is great stuff.
    Unfortunately doing this broke the then-running server's network connection.
    I have a static IP address netcfg profile that is loaded from systemd on server start-up (systemctl enable netcfg; the profile is set in the "NETWORKS=..." variable in "/etc/conf.d/netcfg").
    The ethernet device is called "enp2s0".
    This worked flawlessly until I started using the "net" mkinitcpio hook to get a network connection in early user space for the remote unlocking.
    The net hook's corresponding kernel parameter looks like "ip=<ip>:::<netmask>:::none"
    When I use this hook, the system boots up without having the "enp2s0" ethernet device, causing netcfg to bail out.
    It does however gain the same network device as "eth0" instead, which is apparently how early user space calls it. This "eth0" ethernet device appears to retain the settings it has been set up with by the net hook.
    Unfortunately the net hook does not supply things like a default gateway or DNS servers, so while the server technically is reachable from the local network, it cannot access the internet, which it definitely needs to be able to do.
    After tracking this down I figured "Whatever. I can live with the ethernet device being called eth0."
    So I made a second identical netcfg profile, exchanging "enp2s0" for "eth0", and set the server to load that one instead when booting.
    That unfortunately did not work either, because netcfg is cautious and aborts when it is told to set up a network adapter that is already active in some way unknown to netcfg.
    What also didn't help was specifying the "enp2s0" ethernet device name in the "ip=..." kernel parameter for the net hook, because indeed the early user space only knows the device as "eth0".
    So for now I'm stumped. Anyone experienced this issue and managed to solve it?
    A solution might be another "disablenet" mkinitcpio hook that deconfigures the network adapters configured by "net", so that the renaming from "eth0" to "enp2s0" during boot, which I assume fails on account of "eth0" being active, works again.
    Thanks for any help,
    eomanis
    Edit: Changed "netctl" to "netcfg" in the thread subject
    Last edited by eomanis (2013-04-18 08:45:21)

    tomk wrote:You could try including the appropriate command to bring down your interface in your profile's PRE_UP field.
    Okay, I tried that.
    I put both netcfg profiles into the "NETWORKS=..." variable in "/etc/conf.d/netcfg", and added this to both of them:
    # Clear leftover state from mkinitcpio net hook
    PRE_UP="ip link set <device> down || true"
    where <device> is eth0 or enp2s0, respectively.
    After a reboot with remote decryption the server's network was down completely. Looks like the "ip link set ... down" command worked all right, but the rest didn't go as planned.
    Here's what systemctl says about that:
    [root@hserver autologin]# systemctl status netcfg
    netcfg.service - Netcfg multi-profile daemon
    Loaded: loaded (/usr/lib/systemd/system/netcfg.service; enabled)
    Active: failed (Result: exit-code) since Thu 2013-04-18 22:35:38 CEST; 26min ago
    Process: 340 ExecStart=/usr/bin/netcfg-daemon start (code=exited, status=1/FAILURE)
    Apr 18 22:35:35 hserver netcfg-daemon[340]: :: static_enp2s0 up Cannot find device "enp2s0"
    Apr 18 22:35:35 hserver netcfg-daemon[340]: Interface enp2s0 does not exist
    Apr 18 22:35:35 hserver netcfg-daemon[340]: [fail]
    Apr 18 22:35:38 hserver netcfg-daemon[340]: :: static_eth0 up RTNETLINK answers: File exists
    Apr 18 22:35:38 hserver netcfg-daemon[340]: Could not configure interface
    Apr 18 22:35:38 hserver netcfg-daemon[340]: [fail]
    Apr 18 22:35:38 hserver systemd[1]: netcfg.service: main process exited, code=exited, status=1/FAILURE
    Apr 18 22:35:38 hserver systemd[1]: Failed to start Netcfg multi-profile daemon.
    Apr 18 22:35:38 hserver systemd[1]: Unit netcfg.service entered failed state
    As before, device "enp2s0" is missing, but "eth0" doesn't come up either, even after being downed manually beforehand :-(
    Strangely enough, if I do "netcfg -u static_eth0" after that, eth0 does come up. What?!
    @falconindy: Applying a udev rule in early user space would require to make a custom initcpio hook, wouldn't it?
    In that case I'd rather try to figure out what the "net" hook does and undo it, seeing that I have to write a custom hook anyway and that "eth0" doesn't come up no matter what.
    Having an "enp2s0" ethernet device that doesn't come up either isn't going to do me much good ;-)
    Thanks for the suggestions,
    eomanis

  • Net hook to bring up wlan

    I have a arch system with encrypted root partition, that I want to be headless in the future. There is a AUR package to get dropbear support for the initrd, so I can unlock the root partition remotely. As far as I can tell does this package use the net hook from mkinitcpio to set up the network.
    Unfortunately the system doesn't have wired access to the network, only wireless (wpa2 secured). Is it possible to have a wireless network that early in the boot process?
    Last edited by Corubba (2013-10-22 19:31:51)

    New 64-bit kernel likes my network too, so don't know about bug.

  • Mkinitcpio net hook broken?

    Hi
    I'm trying to upgrade my diskless PXE system, but it seems like the mkinitcpio "net" hook is broken?
    # mkinitcpio -p kernel26
    ==> Building image "default"
    ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    :: Begin build
    :: Parsing hook [base]
    :: Parsing hook [net]
    which: no ipconfig in (/lib/initcpio)
    ERROR: '/lib/initcpio/ipconfig' is not a file
    which: no nfsmount in (/lib/initcpio)
    ERROR: '/lib/initcpio/nfsmount' is not a file
    :: Parsing hook [udev]
    :: Parsing hook [autodetect]
    error: /dev/sr0: No medium found
    :: Parsing hook [pata]
    :: Parsing hook [scsi]
    :: Parsing hook [sata]
    :: Parsing hook [filesystems]
    :: Generating module dependencies
    :: Generating image '/boot/kernel26.img'...SUCCESS
    ==> SUCCESS
    ==> Building image "fallback"
    ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    :: Begin build
    :: Parsing hook [base]
    :: Parsing hook [net]
    which: no ipconfig in (/lib/initcpio)
    ERROR: '/lib/initcpio/ipconfig' is not a file
    which: no nfsmount in (/lib/initcpio)
    ERROR: '/lib/initcpio/nfsmount' is not a file
    :: Parsing hook [udev]
    :: Parsing hook [pata]
    :: Parsing hook [scsi]
    :: Parsing hook [sata]
    :: Parsing hook [filesystems]
    :: Generating module dependencies
    :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    ==> SUCCESS
    The two errors in the net-hook, makes my system unbootable:
    /init: line 113: nfsmount: not found
    ERROR: Failed to mount the real root device.
    Bailing out, you are on your own. Good luck.
    /bin/sh: can't access tty; job control turned off
    [ramfs /]#
    The system gets stuck now and doesn't accept any input from my keyboard.
    I'm using the following hooks within my mkinitcpio.conf:
    MODULES="nfs"
    HOOKS="base net udev autodetect pata scsi sata filesystems"
    System is up to date as of today:
    # pacman -Q kernel26 mkinitcpio
    kernel26 2.6.32.9-1
    mkinitcpio 0.6.3-1
    # pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    local database is up to date
    Anyone?

    djgera wrote:You need mkinitcpio-nfs-utils
    Thanks, I missed that one in the news...
    Problem solved

  • I-net oranxo driver problem. cannot connect

    Hi, im new to the j2ee programming communitty and i was trying to use the i-net type 4 driver to connect to an oracle database. The service name of the oracle database is orcl. i know that the host is the local host, and im pretty sure that the port number is 1521. i dont think i changed it. unfortunately i dont know how to change it. if you could tell me a way to change it once i have already installed it, i would appreciate it.
    my code for this problem is
    import java.sql.*;
    public class testDB{
    public static void main(String args[])
         new testDB();
    testDB()
         try{
              Connection con = DriverManager.getConnection("jdbc:inetora:localhost:1521:orcl", "scott", "tiger" );
              new com.inet.ora.OraDriver();
              CallableStatement cstmt = con.prepareCall("{call procone(?,?,?)}");
              cstmt.setInt(1,6619211);
              cstmt.setString(2,"Java");
              cstmt.setInt(3,22);
              cstmt.execute();
              con.close();
              }catch(Exception x){
                        System.out.println("exception: "+x);
    the error its giving me is the following
    com.inet.ora.ORA3SQLException: [OraDriver] Connection Refused:Connect
    Anyone know why theres a problem. im sorry i know its probably a dumb question but i cant figure this out.

    re: Oracle database and listener:
    Oracle does not do things in a simple way. I'll explain things using Oracle's terminology (which I didn't use earlier).
    To Oracle, the collection of data-storage (files or devices) that actually has the data is the "database", without regard to any program code or running process.
    To Oracle, the memory structures and process (or threads on some OSes) normally used to access a database is called an "instance". (In casual speech, most people call the "instance" the "database"; usually the distinction doesn't matter).
    You can have a database without an instance (the program isn't running), an instance without a database (the database hasn't been created or you're using a special Oracle feature called ASM), or you can have multiple instances for one database (an Oracle RAC cluster).
    You cannot connect directly to an Oracle instance via a TCP/IP connection (which is normally what a JDBC driver will use, although there are other ways). Instead, Oracle has another program, called the "listener" that brokers connection requests; your program talks to the listener on port 1521 and the listener arranges for your program and the database to connect. The database might actually be on another computer but almost never is, except with RAC clusters or failover configurations. So the listener has to be running for most JDBC programs to work.
    SQL*Plus can connect to a database instance via TCP/IP, which requires the listener; however, SQL*Plus can also connect to a database instance that is on the same computer via inter-process communication, which does not require the listener. Stopping the listener process and connecting via SQL*Plus is a common way of putting a database into "maintenance mode", where only the database administrator can make changes to the DB.
    The standard Oracle installation will install everything and set up the listener and have it autostart on boot and everything else needed. However, people sometimes disable things they think they don't need, so it's not unheard of for people to turn off the listener becaus they think they don't need it. Or sometimes there's an error and the listener fails to start...

  • L7580 net printer driver disappearing in Win 7-62 after connecting with Remote Desktop Connection

    I have an Officejet Pro L7580 connected via ethernet. I've been using the driver released from Jan 2010, and whenever I connect to my Windows 7 Ultimate 64 computer via Remote Desktop Connection, the printer drivers for both the printer and the fax disappear. I have to constantly run the "add a device" window to add the printers back again. 
    Why do they disappear like that?
    Fishanderson

    OK after updating the Server and clients I am still having this issue :( 
    and just today after no sound problems for 6 days the sound dropped out on a couple of RDP sessions, yet the sound on the client itself worked fine when tested (minimise the RDP session).
    It took the RDP sessions to be restarted to restore the sound within the session.
    I have found similar (old) thread regarding this problem:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/958fd891-6f55-432b-8268-a326ac6b2b2e/sound-in-remote-desktop-session-stops-working
    but no one has informed about if as solution was ever found.

  • What are hidden home and net network drives?

    I have 2 icons on my desktop called net and home, both have a size of zero both are partially greyed out. They stay on the desktop regardless of whether or not I'm actually connected to a network. I found them using tinkertool and setting 'show hidden and system files' and going to finder preferences and selecting 'connected servers'. I can't disconnect from them. I was wondering what they are for.

    Turn off the display of hidden files/folders and they should disappear from view. They are used by the OS, not the user.

  • Can I Put My Organizer Catalog On A Net Work Drive An Share It With Two Computers?

    PhotoShop Elements 11, Running Under Windows 7 Professional
    The second system would be Running Windows 8.1
    It would be nice if I could share the Organizer Catalog between the two systems.
    If that does not work, I can back the Catalog up on the Network Drive from the primary system (Running Windows 7) and then download it to the second system (Running Windows 8) since production would take place on the Windows 7 system.  It would just be nice to always have both systems "in sync".

    I guess that is not a surprise.  Multiple systems accessing a database at the same time is difficult to manage.
    I will choose to make frequent back-up on the network drive and then load those backups on the secondary computer.  This restricts the secondary computer from doing any work that needs to be retained but, that is OK.
    Thanks for your answer.

  • Mkinitcpio-nfs-utils hook for net without wireless

    Is there a way to make a net hook for diskless clients without including wireless?  Make one called net-nowireless or something like that.  If my diskless client has a wireless card, I'd have to go into emergency shell to connect the wireless network device to a wireless network if it would even let me do that.  Otherwise, I have to blacklist any perceivable wireless module and include it in my mkinitcpio.conf.  Some wireless devices can be canned just by not including the firmware.  Anyways, my diskless client hangs on the wireless deadlock when initializing network interfaces.  It would also probably remove firmware messages and make the initramfs-linux.img smaller.  The PXE clients can only boot from the hardwired ethernet clients for now.
    Doing a mkinitcpio -L doesn't even list the net hook, but mkinitcpio -H net shows the details.
    Last edited by nomorewindows (2013-10-05 12:22:32)

    Lone_Wolf wrote:
    It does look like the hook tries to connect using all autodetected network devices, regardless of number and type of devices.
    While it may be possible to differentiate between wired and wireless devices, that will still give issues if there are multiple wired/wireless devices.
    Maybe a configuration file could be added that specifies which devices nfs should use.
    If there's no config file present in the initramfs, it should just default to all detected devices as it does now.
    Although I haven't tried it this way, it makes sense because that's what it does with the wireless, which just has the unresolvable problem, whereas dual ethernet or more, as long as it satisfies getting an address via dhcp, can probably still boot.  Maybe this is the reason why OpenBSD is still anal about using stateful routines through rarpd and bootparamd.  I've tried to boot OpenBSD under Arch, using rarp, but I guess it doesn't answer satisfactory to OpenBSD's diskless request.  The purpose of stateless is to boot anybody.  Various options can be set in pxelinux.cfg based on MAC address, but maybe these aren't known ahead of time to boot a customized initramfs-linux.img. 
    The real boon was to turn on a dumb-terminal and as soon as it came on, the login prompt was present.  This was probably a function of getty.

  • HP Officejet 4255 driver for Windows 7, 32 bit. Not in pull up list or OS(can't update)

    HP Officejet 4255 driver for Windows 7, 32 bit.
    Driver is not in pull up list and not in OS(can't update OS basic). Almost all series are listed but 4200 series is missing. 
    After upgrade to Windows 7, it has become a problem. Some solution should be given.
    Can someone help?
    Regards,
    Raul

    Ok, I found in the Net the drive 7uw706ww.zip, which is Version 6.1.4.2, while the updated version is 6.1.10.5 (7UW708WW).
    I tried again the GPS, and it wasn't working.
    Anyway, before downgrading, I tried to reinstall the new driver, downloading and installing the .exe instead going through System Update.
    Result: now GPS is working (same place, same conditions, just 5 minutes later)!
    Don't know where the difference is...
    600, R52, T61p, X301

  • X301 and Vodafone and AT&T Wireless WAN (HSPA) Driver for Windows 7 (32-bit, 64-bit)

    Ok, I (Lenovo) did it again.
    System Update showed me this update: "Vodafone and AT&T Wireless WAN (HSPA) Driver for Windows 7 (32-bit, 64-bit)".
    As I'm using Vodafone and I had a AT&T driver, I decided to update.
    The result is, that now the GPS doesn't work.
    Yes, I'm in a place where the GPS signal is present (my house, with the previous driver I was able to get 6/7 satellites).
    What happens? Lenovo TV GPS stays there trying to fix the satellites, but nothing happens. I can't recover the system to a previous state, as I updated Flash player too, and Windows only show me the possibility to roll back this update.
    So, apart advicing everyone not to update, I kindky ask:
    - where can I found the previous driver? I searched the web without success...
    - why does Lenovo deploy driver which can cause problems (I just had one updating the BT driver last week! .msi installer problem, error 1935...)?
    Thanks to everyone
    600, R52, T61p, X301

    Ok, I found in the Net the drive 7uw706ww.zip, which is Version 6.1.4.2, while the updated version is 6.1.10.5 (7UW708WW).
    I tried again the GPS, and it wasn't working.
    Anyway, before downgrading, I tried to reinstall the new driver, downloading and installing the .exe instead going through System Update.
    Result: now GPS is working (same place, same conditions, just 5 minutes later)!
    Don't know where the difference is...
    600, R52, T61p, X301

  • My computer keeps freezing even after I replaced the hard drive

    EtreCheck version: 1.9.12 (48)
    Report generated June 16, 2014 at 9:14:18 PM EDT
    Hardware Information:
              iMac (27-inch, Late 2009) (Verified)
              iMac - model: iMac11,1
              1 2.8 GHz Intel Core i7 CPU: 4 cores
              8 GB RAM
    Video Information:
              ATI Radeon HD 4850 - VRAM: 512 MB
                        iMac 2560 x 1440
                        Cinema HD 2560 x 1600
    System Software:
              OS X 10.9.3 (13D65) - Uptime: 0 days 0:8:3
    Disk Information:
              WDC WD20EZRX-00D8PB0 disk0 : (2 TB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 2 TB (1.39 TB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5680H 
    USB Information:
              Apple Computer, Inc. Apple Cinema HD Display
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Internal Memory Card Reader
              Apple, Inc. Keyboard Hub
                        Apple Inc. Apple Keyboard
              Apple Inc. Built-in iSight
              Apple Computer, Inc. IR Receiver
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.Symantec.kext.DeleteTrap (1.0.0d1) Support
              [not loaded] com.Symantec.kext.KTUM (8.0.4) Support
              [not loaded] com.Symantec.kext.SymEvent (1.0.2) Support
              [not loaded] com.Symantec.kext.SymOSXKernelUtilities (1.0.3) Support
              [not loaded] com.cisco.kext.acsock (1.1.0 - SDK 10.6) Support
              [not loaded] com.cisco.nke.ipsec (2.0.1) Support
              [not loaded] com.hzsystems.driver.CDSDAudioCaptureSupport (1.5) Support
              [not loaded] com.iomega.driver.IomegaSAM (1.1.1) Support
              [loaded] com.kaspersky.kext.klif (3.0.3d40) Support
              [loaded] com.kaspersky.nke (1.6.3d13) Support
              [not loaded] com.nike.sportwatch (1.0.0) Support
              [not loaded] com.palm.ClassicNotSeizeDriver (3.2) Support
              [not loaded] com.roxio.BluRaySupport (1.1.6) Support
              [not loaded] com.symantec.kext.symdc (1.3.0) Support
              [not loaded] com.symantec.kext.symfs (7.0.2) Support
              [not loaded] com.wdc.driver.1394HP (1.0.11 - SDK 10.4) Support
              [not loaded] com.wdc.driver.1394_64HP (1.0.1 - SDK 10.6) Support
              [not loaded] com.wdc.driver.USBHP (1.0.11) Support
              [not loaded] com.wdc.driver.USB_64HP (1.0.0 - SDK 10.6) Support
              [not loaded] net.pocketmac.driver.BlackberryUSB (2.0.1) Support
              [not loaded] net.pocketmac.driver.BlackberryUSBDev (2.0.1) Support
    Startup Items:
              CDBurnerService: Path: /System/Library/StartupItems/CDBurnerService
    Launch Daemons:
              [loaded] com.microsoft.office.licensing.helper.plist Support
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [running] com.akamai.single-user-client.plist Support
              [loaded] com.divx.agent.postinstall.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [failed] com.smithmicro.cleaning.schedulermailer.plist Support
    User Login Items:
              Kodak EasyShare Wireless Listener
              GetBackupAgent
              Microsoft Database Daemon
              Google Drive
              Dropbox
              AdobeResourceSynchronizer
              WDSecurityHelper
              WDDriveUtilityHelper
              WDDriveUtilityHelper
    Internet Plug-ins:
              SharePointBrowserPlugin: Version: 14.0.0 Support
              AdobePDFViewer: Version: 10.0.0 Support
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              QuickTime Plugin: Version: 7.7.3
              Default Browser: Version: 537 - SDK 10.9
    Safari Extensions:
              DivX Plus Web Player HTML5 <video>: Version: 2.1.2.145
              Virtual Keyboard: Version: 14.0
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              fbplugin_1_0_3: Version: (null) Support
              Picasa: Version: 1.0 Support
    3rd Party Preference Panes:
              Akamai NetSession Preferences  Support
              Perian  Support
    Time Machine:
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 2  Disk used: 563.23 GB
              Destinations:
                        My Passport Studio [Local] (Last used)
                        Total size: 2 
                        Total number of backups: 108
                        Oldest backup: 2012-11-30 02:43:26 +0000
                        Last backup: 2014-06-01 22:28:32 +0000
                        Size of backup disk: Adequate
                                  Backup size 2  > (Disk used 563.23 GB X 3)
                        LaCie2010 [Local]
                        Total size: 0 B
                        Total number of backups: 34
                        Oldest backup: 2012-03-04 13:36:12 +0000
                        Last backup: 2014-04-07 01:38:27 +0000
                        Size of backup disk: Too small
                                  Backup size 0 B < (Disk used 563.23 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   6%          mdworker
                   3%          mds
                   1%          WindowServer
                   0%          hidd
                   0%          fontd
    Top Processes by Memory:
              180 MB          com.apple.IconServicesAgent
              156 MB          Mail
              147 MB          Dock
              138 MB          com.apple.WebKit.WebContent
              123 MB          Safari
    Virtual Memory Information:
              3.61 GB          Free RAM
              3.18 GB          Active RAM
              512 MB          Inactive RAM
              724 MB          Wired RAM
              424 MB          Page-ins
              0 B          Page-outs

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Motherboard crashed, hard drive missing LR and 100 gigs of photo files

    able to save drive, put in ext ensclosure and hooked it up tp laptop.  am able to open My Pictures folder, only 10 gigs worth of pics visible.
    should be 126 gigs.  most programs still on drive and accessible: i tunes, all canon photo software, etc.  the LR catalog is nowhere to be found.
    when this drive was in the desktop there was 25 gigs free space left.  viewing the drive hooked up to laptop it also shows 25 gigs free.
    wondering if this info is false.  if not, where are my missing files and LR ???
    i do have my stuff backed up but not sure if all of it backed up, specifically some photo files.
    have tried booting from the drive instead of from laptop drive, windows would not allow.  desktop was xps, laptop is vista.  during that boot i actually saw the xps logo come up a couple of times but then it went to vista.
    any help would be appreciated.
    a tech friend suggested hooking drive up to his linux os which i am going to do this weekend.

    Sounds like you have two problems. 1) Unable to load LR onto the second system (laptop) and 2) the hard drive with original system files has a corrupted file system due to motherboard failure and system crash.
    Problem 1: LR license activation allows loading onto two (2) systems. Did you load LR on two systems prior to the crash, which is now preventing you from activating the copy on your laptop? You may need to call Adobe Tech Support to "free-up" the license on your crashed system.
    Problem 2: You will need to some data recovery work, due to a corrupted file system on the original HDD. There are numerous data recovery software applications available as freeware or for purchase:
    http://reviews.cnet.com/data-recovery-software/
    I only have experience with Acronis True Image Home 2010, and definitely would NOT recommend their products due to bugs and poor tech support. Perhaps someone else on the LR forums can suggest a specific data recovery application?

Maybe you are looking for

  • Need help to access a web page using midlet to retrieve some informations

    Hi everyone i'm trying to access a web page using midlet to retrieve some informations in text format, the web page is [http://daviddurand.info/D228/?villes|http://daviddurand.info/D228/?villes] for my project. the problem is that i always get error

  • Get Map As XML/Server Image returns blank image on server and errors out on local

    In Server, map.getMapAsXML and map.getMapAsServerImage both return blank images though they return a valid url In local, executing map.getMapAsXML reports the following error: Uncaught SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElemen

  • TIMESTAMP formatting!!!

    Hi All, My Query is... I have a table COGNOS_UH with columns which holds history transaction updates Business_date Date; Actual_trans number(8); Update_trans number(8); UH_STIME timestamp(6); UH_FTIME timestamp(6); UH_DURATION Varchar2(30); if i try

  • JTable Moving Columns and keeping the index for re-display

    I have a JTable with data. The data in the table is refreshed every two minutes. The user is allowed to move the columns around, but when the refresh happens, the columns go back to their original layout. I have a TableColumnModelListener attached to

  • Remote database????

    Hihi.. I need to do my application in a way that... the database will be in a remote location (server side) and can be accessed by users from other locations. For example, a user wants to login to the application and to check if he has entered the co