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.

Similar Messages

  • 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

  • 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

  • WRT54G hooked up but no WLan lit?

    I have hooked up my desktop after a move along with new cable modem and vonage but the WLan won't light. Do I have it hooked up correctly or am I missing a step. Everything else works and all the Ethernet lights are light except one and the power is on but no WLan.  Can anyone help me? Thank you

    How you have connected your router to the modem?
    Are you able to go online with the wired connection?
    Connect the Modem to the Router on internet port and the Vonage,Computers on the Ethernet port of the router.If still not getting the WLAN light on the router then,try resetting the router for 45 seconds.. 

  • 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>

  • 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.

  • E90 WLAN problem

    I have a problem using my E90 communicator to surf the net, it can connect to WLAN but it can't open any website.
    it connects to the wireless internet in the office but it says something about the "pre-shared key" of the connection, i know the key but i don't know where to put it, sometimes it says "no gateway reply". and here at home it can also connect to my wireless internet but when i try to go to any web page it says "connection not available", and when it gets connected, it doesn't get disconnected anymore,(the wireless connection indicator on the top right of the screen is always present). so whenever i try to search for the WLAN and connect again, it says "connection already in use". and i have to turn off my phone to remove the connection indicator.
    this problem started when I updated my phone's software. last month, the phone's WLAN is working fine and I can surf the net. is there a problem with the latest firmware of E90? (300.34.84)
    any ideas on what's wrong with my phone? any solutions? any help will be really greatly appreciated.. thanks.
    Message Edited by jopas on 22-Nov-2008 06:48 PM

    Try if setting it to factory will bring it back to the state where it could connect & surf the net after reconfiguring again your access point.
    Message Edited by android on 23-Nov-2008 12:22 PM
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • Invoice Purchase Order with Down Payments brings wrong Due Amount

    Hello,
    I am working on 8.81 PL08 environment and I have this situation:
    I issue a Purchase Order and then a Down Payment Request which I pay. When I go to invoice the purchase order the down payment and payment due fields on the invoice are correct.
    In the case I issue another down payment request and for the same Purchase Order which closes the amount of invoice then when I go to the invoice and choose Copy From the same fields are not right.
    If I go to Purchase Order and choose Copy To the amounts are correct.
    So the situation is like this:
    - Down Payment part of Purchase Order. Due Payment to invoice correct
    - Down Payment full amount of Purchase Order. Choose Copy To from Purchase Order to Purchase Invoice. Due Payment correct.
    - Down Payment full amount of Purchase Order. Choose Copy From from Purchase Invoice. Due Payment wrong.
    Has anyone seen this before?
    Thank you,
    Gerasimos

    Thank you Gordon,
    However I cannot deny to the user that wants to apply that that there is a business case where the vendor demands the invoice to be paid all in front (maybe one installment with the Purchase Order and one with the Receipt of the Goods). So, I would expect this to be covered.
    I noticed another thing: When I opened the Down Payments screen on Invoice (where Down Payments are listed in order to choose them) there is a column "Open Net Amount" which brings the correct amount. However, in the column "Net Amount to Draw" there is a wrong figure and that makes the mistake.
    Now I can see that I can wright the correct amount to column "Net Amount to Draw" but still I cannot understand why a user should do that.

  • N8 - wlan issues

    Hi, My N8 connects to the net via wap, but on wlan it states 'invalid server error'. I cannot surf web on wlan. also and this is the real killer, I cannot get it to connect to my exchange account so no email either.
    oh dear oh dear oh dear!
    Nokia support have told me that they will get an engineer to call me within 3-4days, must be rewriting the code in the meantime!
    heres a useful bit off info:  to hardreset the phone, but beware it will return to factory settings and delete everything you have put on the phone, including photos video and music, (he didn't tell me that when the tech support guy told me to do this) dial      *#7370#   use with caution!
    Solved!
    Go to Solution.

    I changed my wifi router (netgeat dg834) dns settings from automatic to use Google public dns settings, you can find them here http://code.google.com/speed/public-dns/
    the settings are:
    primary dns 8.8.8.8
    secondary dns 8.8.4.4
    The wlan now connects every time!
    now need to fix the next problems.

  • Net name with no wire

    I have a multipage schematic the uses many buses to other pages. I noticed on one sheet that a net name seemed to be sitting all by itself in the middle of the screen. I can delete everything on the sheet but this rouge net name is still there. If I double click on the net name it brings up the dialog box asking if I want to lock the net name in position. This net name does not appear in the spreadsheet view of the Nets either.

    I can confirm this as happening to me also. I don't remember the circumstances under which this occurred and so far it hasn't happened since that one time (Unfortunely, I have apparently deleted the circuit where this occurred). I have no solution to this because I can't get it to repeat it. I thought I would just let you and the NI Team know that it has happened to more than one person. I will be interested in what they have to say on this in case it happens to me again at some point.
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day

  • ISE 1.2 - Multiple NICs/Load Balancing for DHCP Probe

    Hello guys
    Just prepping an ISE 1.2 patch 8 setup in our organization. I am going for the virtual appliances with multiple NICs. It will be a distributed deployment with 4 x PSNs behind a load balancer and there is no requirement for wireless or guest user at the moment. I've got 2 points I will like to get some guidance on:
    Our DC has a dedicated mgmt network and I plan to IP the gig0 interface of the PANs, MNTs and PSNs from this subnet. All device admin, clustering, config replication, etc will be over this interface. However, RADIUS/probe/other user traffic to the ISE PSNs will be over the gig1 interface which will be addressed from another L3 network. Is this a supported configuration in ISE?
    I intend to use the DHCP probe as part of device profiling and will ideally like to have just an additional ip helper to add to our switch SVI config. Also, it will appear that WLCs can only be configured for 2 DHCP servers for a given network so another consideration for when we bringing our WLAN in scope. We however use ACE load balancers within our DC and from what I have read, they do not support DHCP load balancing. Are there any workarounds to using the DHCP probe with multiple PSNs without having to add each node as an ip helper/DHCP server on the NADs?
    Thanks in advance
    Sayre

    Hello Sayre-
    For Question #1:
    Management is restricted to GigabitEthernet 0 and that cannot be changed so you should be good there
    You can configure Radius and Profiling to be enabled on other interfaces
    Even though you are not using guest services yet, you can dedicate an interface just for that. As a result, you can separate guest traffic completely from your production network
    Take a look at this link for more info:
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/installation_guide/ise_ig/ise_app_c-ports.html
    For Question #2
    If you are using a Cisco WLC and running code 7.4 and newer you don't need to mess with the IP helper configurations. 
    The controller can be configured to act as a collector for client profiling and interact with the DHCP thread along with the RADIUS accounting task that is running on the controller. The controller receives a copy of the DHCP request packet sent from the DHCP thread and parses the DHCP packet for two options:
    –Option 12—HostName of the client
    –Option 60—The Vendor Class Identifier
    After this information is gathered from the DHCP_REQUEST packet, a message is formed by the controller with these option fields and is sent to the RADIUS accounting thread, which is in turn transmitted to the ISE in the form of an interim accounting message.
    Both DHCP and HTTP profiling settings are located under the "Advanced" configuration tab in the WLC
    On the other hand, you can also use Anycast for profiling. You can check out some of Cisco Live's sessions for more info on that. Here is one that is from a couple of years (There are more recent ones that are available as well):
    http://www.alcatron.net/Cisco%20Live%202013%20Melbourne/Cisco%20Live%20Content/Security/BRKSEC-3040%20%20Advanced%20ISE%20and%20Secure%20Access%20Deployment.pdf
    I hope this helps!
    Thank you for rating helpful posts!

  • Attempting to Save data from an access database file into a local variable for use.

    Hello! i'm trying to develop a small text based game in Visual Basic 2013 and I've recently decided i need to use a more sophisticated data storage system then dozens of .txt files and stream-readers. i'm using Microsoft access and i completed my database
    last night. it stores the stat and skill values of the player-character and the non-player characters. the problem is i cannot bring the data into visual basic in a usable way. using ado.net i can bring a single record into the system as a detail view and
    then read the data in from the labels but i'd far prefer to have it done purely through code. the book i purchased only covers data grid views and detail view and I've spent several hours searching for a solution online. 
    for clarification. i need to read each value in a record into a variable so i can calculate the stats for the games combat system.

    So, you want to select from MS Access?
    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Ryan\Desktop\Coding\Microsoft Access\Northwind_2012.mdb"
    Dim selectCommand As String
    Dim connection As New OleDbConnection(connectionString)
    selectCommand = "Select * From MyExcelTable ORDER BY ID"
    Me.dataAdapter = New OleDbDataAdapter(selectCommand, connection)
    With DataGridView1
    .AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
    .AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.ColumnHeader
    .AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.ColumnHeader
    End With
    Dim commandBuilder As New OleDbCommandBuilder(Me.dataAdapter)
    Dim table As New DataTable()
    table.Locale = System.Globalization.CultureInfo.InvariantCulture
    Me.dataAdapter.Fill(table)
    Me.bindingSource1.DataSource = table
    Dim data As New DataSet()
    data.Locale = System.Globalization.CultureInfo.InvariantCulture
    DataGridView1.DataSource = Me.bindingSource1
    Me.DataGridView1.AlternatingRowsDefaultCellStyle.BackColor = Color.Aqua
    Me.DataGridView1.AutoResizeColumns( _
    DataGridViewAutoSizeColumnsMode.AllCells)
    End Sub
    Then from DataGridView to a text file, right.
    Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs)
    Dim dt As DataTable = New DataTable
    Dim DBAdapter As OleDbDataAdapter = New OleDbDataAdapter
    Dim connection As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\Excel\\Desktop\\Coding\\Microsoft Access\\Nor"& _
    "thwind.mdb;Jet OLEDB:System Database=system.mdw")
    Dim query As String = "SELECT * FROM Orders;"
    connection.Open
    Dim command As OleDbCommand = New OleDbCommand(query, connection)
    Dim adapter As OleDbDataAdapter = New OleDbDataAdapter(command)
    adapter.Fill(dt)
    Dim writer As StreamWriter = New StreamWriter("C:\\Users\\Excel\\Desktop\\FromAccess.txt")
    For Each Row As DataRow In dt.Rows
    For Each values As Object In Row.ItemArray
    writer.Write(values)
    Next
    Next
    writer.Close
    End Sub
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Does ECC 6.0 Provide a Search-as-you-type Enhancement for Sold-To Party Field?

    In our quest to continually simplify the creation of sales orders, I would like to know if SAP has provided any way to simplify the search and entry of the customer sold-to or ship-to party.  What I am looking for is a way to enter the customer's name (or other customer search criteria such as city) in a single field and have it search-as-you-type.  This is also known as instant search, auto-complete and auto-suggestion.
    We would like to eliminate the clicks it takes to use the standard F4 search help.
    One of our internal developers has created a web-based (.NET) application that brings in SAP data for writing sales orders for a specific segment of our business.  This tool allows you to find the ship-to party by typing in the customer's state, city, zip, address or name in the Ship-To field.  The instant search feature narrow's the list down as you type.  What he has done is written SQL to concatenate the customer name, customer number and address information, and then provided a search-as-you-type feature on top of this.
    Fictious Example of concatenated data (State, City, Customer Name, Address, Zip, SAP Customer Number):
    WA Seattle, Home Depot, 11616 Aurora Ave N, 98133, 18394978
    Typing any of the above information in the field will search for matches and bring back results as you type.
    I would like to know if ECC 6.0 has any similar feature that can be used in VA01 to accomplish the same thing.
    Thank you.
    Rob Scofield

    I don't have access to the code our developer used but again, I am referring to a .NET browser-based application.  We extract a subset of SAP data using Attunity (say, every hour) and the SAP data is stored in a separate SQL Server database.  This database is used by a few browser-based applications we have developed.  For example, we have an application that allows external customers or internal employees the ability to look-up the status of an order.  The first thing you enter is the customer.  In some cases, this may be the Ship-To.  In other cases, the Sold-To.  The user can simply enter some part of the customer and records are searched for a match, as you type.  In our case, the lookup is occurring in SQL Server, not directly in SAP.  The developer took a simple approach of using some SQL query magic (it may be in a SQL Server Stored Procedure), to concatenate the relevant customer information that most people use to lookup a customer - Customer Name, Address, Customer Number.  So as you type, this entire concatenated string is searched and the list of potential "hits" is narrowed as you type.
    The paradigm is similar to Google's Search as you type (SayT), which you can read about here:
    http://www.theverge.com/2012/7/11/3152186/google-search-as-you-type-instant-results-merchants
    http://code.google.com/p/search-as-you-type/
    Or auto-complete: https://support.google.com/websearch/answer/106230
    This is nothing new in the web commerce world.
    I was told by an SAP rep that there might be an enhancement in SAP ECC (SAPGUI Desktop) that could do something similar.  However, I never heard back from him and was wondering if anyone else had heard of something.
    This is another example of how it seems SAP has fallen behind in their UI and search capabilities; and they need to catch-up.  For those of us that have used SAP for many years, F4 seems straight forward and we sometimes don't understand why so many users don't also find it simple.  The answer is, other vendors have made it more simple and with the consumerization of apps, SAP needs to get there.
    Rob

  • Matching invoice to Purchase Order with higher amount without warning

    Oracle Applications : 11.5.10.2
    PO was created via iProcurement with line type, service amount(The Value Basis is Amount). The order quantity is 100, unit price is 5, amount is 500
    I created a invoice in AP and try to match it to this PO from invoice workbench.
    In the Match to Purchase order Window, I changed the quanitity invoiced from 100 to 200, Amount updated to 1000 automatically. Then click the match button. There is a warning: This match will result in an overbill.
    But when I update the Match Amount from 500 to 1000, the unit price updated from 5 to 10. And system did NOT give me a warning notice.
    I know that Payables automatically calculates and enters the remaining field (Quantity Invoiced x Unit Price = Match Amount).
    but can someone tell me why system doesnot give a warning when I update the Match Amount? Is there any setup we can set to let system pop up warning?
    Thanks
    Kyla

    Thank you Gordon,
    However I cannot deny to the user that wants to apply that that there is a business case where the vendor demands the invoice to be paid all in front (maybe one installment with the Purchase Order and one with the Receipt of the Goods). So, I would expect this to be covered.
    I noticed another thing: When I opened the Down Payments screen on Invoice (where Down Payments are listed in order to choose them) there is a column "Open Net Amount" which brings the correct amount. However, in the column "Net Amount to Draw" there is a wrong figure and that makes the mistake.
    Now I can see that I can wright the correct amount to column "Net Amount to Draw" but still I cannot understand why a user should do that.

  • [systemd] network dependent starting of services

    Hello,
    normally it is possible to change to order/dependencies of services as described here.
    Furthermore one can automatically connect with either Ethernet (net-auto-wired.service) or Wlan (net-auto-wireless.service) at boot.
    Currently I enabled hostapd.service. However, I only want to start it, if I am connected with ethernet and not wlan.
    If I am connected with wlan, i don't want to start hostapd.
    And I want to automatically connect to ethernet, if it is available. Otherwise to a known wlan hotspot.
    I don't really know how to solve that problem.
    Thanks for any help,
    kpj

    With netcfg you can define commands being issued after the network is up and before it is down (and before it is up and after it is down works as well).
    As an example, I have these two lines
    POST_UP="/bin/su - army -l -c 'transmission-daemon --pid-file /tmp/transmission.pid'"
    PRE_DOWN="killall -w transmission-daemon"
    in both my profiles. The commands are being run as root, so you could insert something like
    POST_UP="systemd start SERVICE.service"
    PRE_DOWN="systemd stop SERVICE.service"
    But I think this isn't a very nice solution This should also be possible within systemd with the options it provides.
    Last edited by Army (2012-12-30 16:59:11)

Maybe you are looking for